Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlWriterWrite

 

SYNOPSIS

    int xmlWriterWrite(xmlWriter writer, string content)

Parameters:

  • writer - the xmlWriter

  • content - the content you want to write

Returns:

  • the bytes written (may be 0 because of buffering) or -1 in case of error


DESCRIPTION
xmlWriterWrite() 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 ALSO
xmlWriterWriteRaw


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.