XMLWriter::endDocument

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0) End current document bool XMLWriter::endDocument ( void ) Object oriented style Procedural style bool xmlwriter_end_document ( resource $xmlwriter ) Ends the current document. Parameters: xmlwriter Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_op

XMLWriter::endComment

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 1.0.0) Create end comment bool XMLWriter::endComment ( void ) Object oriented style Procedural style bool xmlwriter_end_comment ( resource $xmlwriter ) Ends the current comment. Parameters: xmlwriter Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_ur

XMLWriter::endCData

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0) End current CDATA bool XMLWriter::endCData ( void ) Object oriented style Procedural style bool xmlwriter_end_cdata ( resource $xmlwriter ) Ends the current CDATA section. Parameters: xmlwriter Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_u

XMLWriter::endAttribute

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0) End attribute bool XMLWriter::endAttribute ( void ) Object oriented style Procedural style bool xmlwriter_end_attribute ( resource $xmlwriter ) Ends the current attribute. Parameters: xmlwriter Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_u

XMLReader::XML

(PHP 5 >= 5.1.0, PHP 7) Set the data containing the XML to parse public bool XMLReader::xml ( string $source [, string $encoding [, int $options = 0 ]] ) Set the data containing the XML to parse. Parameters: source String containing the XML to be parsed. encoding The document encoding or NULL. options

XMLReader::setSchema

(PHP 5 >= 5.2.0, PHP 7) Validate document against XSD public bool XMLReader::setSchema ( string $filename ) Use W3C XSD schema to validate the document as it is processed. Activation is only possible before the first Read(). Parameters: filename The filename of the XSD schema. Returns: Returns TRUE on success or FALSE on failure.

XMLReader::setRelaxNGSchemaSource

(PHP 5 >= 5.1.0, PHP 7) Set the data containing a RelaxNG Schema public bool XMLReader::setRelaxNGSchemaSource ( string $source ) Set the data containing a RelaxNG Schema to use for validation. Parameters: source String containing the RelaxNG Schema. Returns: Returns TRUE on success or FALSE on failure.

XMLReader::setRelaxNGSchema

(PHP 5 >= 5.2.0, PHP 7) Set the filename or URI for a RelaxNG Schema public bool XMLReader::setRelaxNGSchema ( string $filename ) Set the filename or URI for the RelaxNG Schema to use for validation. Parameters: filename filename or URI pointing to a RelaxNG Schema. Returns: Returns TRUE on success or FALSE on failure.

XMLReader::setParserProperty

(PHP 5 >= 5.1.0, PHP 7) Set parser options public bool XMLReader::setParserProperty ( int $property, bool $value ) Set parser options. The options must be set after XMLReader::open() or XMLReader::xml() are called and before the first XMLReader::read() call. Parameters: property One of the parser option constants. value If set to TRU

XMLReader::readString

(PHP 5 >= 5.2.0, PHP 7) Reads the contents of the current node as a string public string XMLReader::readString ( void ) Reads the contents of the current node as a string. Returns: Returns the content of the current node as a string. Empty string on failure. See also: XMLReader::readOuterXML() -