|
SYNOPSIS
int xmlWriterWritePI(xmlWriter writer, string target,
string content)
Parameters:
-
writer - the xmlWriter -
target - the application to which the processing
instruction is directed -
content - the contents of the processing instruction
Returns:
- the bytes written (may be 0 because of buffering) or -1 in case of error
DESCRIPTION
xmlWriterWritePI() 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 ALSO
xmlWriterStartPI,
xmlWriterWrite,
xmlWriterEndPI
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|