xml_set_processing_instruction_handler Set up processing instruction (PI) handler &reftitle.description; truexml_set_processing_instruction_handler XMLParserparser callablehandler Sets the processing instruction (PI) handler function for the XML parser parser. A processing instruction has the following format: ]]> PHP code is delimited by the <?php processing instruction. As such it is possible to have PHP code within an XML document. However, the PI end tag (?>) must not be part of the data. If a PI end tag exists as part of the embedded PHP code, the rest of the PHP code and the "real" PI end tag, will be treated as character data. &reftitle.parameters; &xml.parser.param; handler &xml.handler.description; The signature of the handler must be: voidhandler XMLParserparser stringtarget stringdata &xml.handler.parser.param; target The processing instruction target. data The processing instruction data. &reftitle.returnvalues; &return.true.always; &reftitle.changelog; &Version; &Description; &xml.changelog.parser-param;