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::endDTD

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

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::next

(PHP 5 >= 5.1.0, PHP 7) Move cursor to next node skipping all subtrees public bool XMLReader::next ([ string $localname ] ) Positions cursor on the next node skipping all subtrees. Parameters: localname The name of the next node to move to. Returns: Returns TRUE on success or FALSE on failure.

XMLReader::read

(PHP 5 >= 5.1.0, PHP 7) Move to next node in document public bool XMLReader::read ( void ) Moves cursor to the next node in the document. Returns: Returns TRUE on success or FALSE on failure. See also: XMLReader::moveToElement() - XMLReader::moveToAttribute() -

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::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