The following query returns a sequence with a processing instruction whose serialization is <? orderpi 'NextDayShipment'?>
SELECT XMLPI(NAME orderpi, 'NextDayShipment');
Query result:
XMLPI( NAME orderpi , 'NextDayShipment' RETURNING SEQUENCE ) ------------------------------------------------------------ <?orderpi NextDayShipment?>