SYNOPSISint xmlWriterWriteRaw(xmlWriter writer, string content)
Parameters:
writer - the xmlWritercontent - the raw content to write to writer
Returns:
DESCRIPTIONxmlWriterWriteRaw() writes the string content to
writer, without applying any markup. This is useful if you
have some data that is already XML escaped, such as 5 > 3
and you want to write it to the file exactly as that.
EXAMPLE<$ret = (xmlWriterWriteRaw($writer,
'is 5 > three? Yup!'))>
CAVEATSxmlWriterWriteRaw() will write whatever you give it, including
invalid XML markup. If you call something like
<$ret = (xmlWriterWriteRaw($writer, '<&wheeeee!<!&&!<'))>
you will be left with an XML file that is not well-formed (assuming you
weren't already in a CDATA section, of course).
xmlWriterWrite would properly escape the content for storage.
SEE ALSOxmlWriterWrite