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: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.