XMLReader::open

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

XMLReader::readOuterXML

(PHP 5 >= 5.2.0, PHP 7) Retrieve XML from current node, including it self public string XMLReader::readOuterXML ( void ) Reads the contents of the current node, including the node itself. Returns: Returns the contents of current node, including itself, as a string. Empty string on failure. See also: XMLReader

XMLReader::readInnerXML

(PHP 5 >= 5.2.0, PHP 7) Retrieve XML from current node public string XMLReader::readInnerXML ( void ) Reads the contents of the current node, including child nodes and markup. Returns: Returns the contents of the current node as a string. Empty string on failure. See also: XMLReader::readString() -

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

XMLReader::moveToNextAttribute

(PHP 5 >= 5.1.0, PHP 7) Position cursor on the next Attribute public bool XMLReader::moveToNextAttribute ( void ) Moves cursor to the next Attribute if positioned on an Attribute or moves to first attribute if positioned on an Element. Returns: Returns TRUE on success or FALSE on failure. See also: XMLReader:

XMLReader::moveToAttributeNo

(PHP 5 >= 5.1.0, PHP 7) Move cursor to an attribute by index public bool XMLReader::moveToAttributeNo ( int $index ) Positions cursor on attribute based on its position. Parameters: index The position of the attribute. Returns: Returns TRUE on success or FALSE on failure. See al

XMLReader::moveToFirstAttribute

(PHP 5 >= 5.1.0, PHP 7) Position cursor on the first Attribute public bool XMLReader::moveToFirstAttribute ( void ) Moves cursor to the first Attribute. Returns: Returns TRUE on success or FALSE on failure. See also: XMLReader::moveToElement() - XMLReader::moveToAttribute() -

XMLReader::moveToAttributeNs

(PHP 5 >= 5.1.0, PHP 7) Move cursor to a named attribute public bool XMLReader::moveToAttributeNs ( string $localName, string $namespaceURI ) Positions cursor on the named attribute in specified namespace. Parameters: localName The local name. namespaceURI The namespace URI. Returns: Returns TRUE on success

XMLReader::moveToElement

(PHP 5 >= 5.1.0, PHP 7) Position cursor on the parent Element of current Attribute public bool XMLReader::moveToElement ( void ) Moves cursor to the parent Element of current Attribute. Returns: Returns TRUE if successful and FALSE if it fails or not positioned on Attribute when this method is called. See also: