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: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.