xmlWriterGetContent

SYNOPSIS

string xmlWriterGetContent(xmlWriter writer)

Parameters:

  • writer - the xmlWriter

Returns:

  • the data that has been written to writer


DESCRIPTION
If writer was created using xmlWriterNewToString(), then xmlWriterGetContent() returns the output of writer. No output will be returned for writers created with xmlWriterNewToFile().


EXAMPLE

<$output = (xmlWriterGetContent($writer))>


SEE ALSO
xmlWriterEndDocument


Copyright © Thunderstone Software     Last updated: Nov 1 2022
Copyright © 2022 Thunderstone Software LLC. All rights reserved.