SYNOPSISint xmlWriterWrite(xmlWriter writer, string content)
Parameters:
writer
- the xmlWriter
content
- the content you want to write
Returns:
DESCRIPTIONxmlWriterWrite()
writes a string to the writer. This can be used
for writing the contents of attributes, elements, comments, etc.
Note that the content
is automatically XML-escaped. If you
provided the content one & two
, then one & two
will
be written to the output. If you have a string that is already
XML-escaped, you can output it with xmlWriterWriteRaw()
.
EXAMPLE<$ret = (xmlWriterWrite($writer, 'item content'))>
SEE ALSOxmlWriterWriteRaw