xmlWriterStartComment

SYNOPSIS

int xmlWriterStartComment(xmlWriter writer)

Parameters:

  • writer - the xmlWriter

Returns:

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


DESCRIPTION
xmlWriterStartComment() starts a new comment in writer. If this will be a simple 'start comment-write content-end comment' sequence, you can do it with one call to xmlWriterWriteComment() instead.


EXAMPLE

<$ret = (xmlWriterStartComment($writer))>


SEE ALSO
xmlWriterWrite, xmlWriterEndComment, xmlWriterWriteComment


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