SYNOPSISint xmlWriterWritePI(xmlWriter writer, string target,
string content)
Parameters:
writer - the xmlWritertarget - the application to which the processing
instruction is directedcontent - the contents of the processing instruction
Returns:
DESCRIPTIONxmlWriterWritePI() writes a complete processing instruction to
writer. It is the same as calling
xmlWriterStartPI($writer, $target)
xmlWriterWrite($content)
xmlWriterEndPI($writer)
EXAMPLE<$ret = (xmlWriterWritePI($writer, 'xml-stylesheet',
'type="text/xsl" href="default.xsl"'))>
SEE ALSOxmlWriterStartPI,
xmlWriterWrite,
xmlWriterEndPI