xmlWriterWriteCDATA

SYNOPSIS

int xmlWriterWriteCDATA(xmlWriter writer, string content)

Parameters:

  • writer - the xmlWriter

  • content - the content of the CDATA section

Returns:

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


DESCRIPTION
xmlWriterWriteCDATA() writes out a complete CDATA section. It is the same as calling

xmlWriterStartCDATA($writer)
    xmlWriterWrite($writer, $content)
    xmlWriterEndCDATA($writer)


EXAMPLE

<$ret = (xmlWriterWriteCDATA($writer,
                'No parsing me! &&& is ok!'))>


SEE ALSO
xmlWriterStartCDATA, xmlWriterWrite, xmlWriterEndCDATA


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.