XMLReader
PHP Manual

XMLReader::readOuterXML

(PHP 5 >= 5.2.0)

XMLReader::readOuterXMLRetrieve XML from current node, including it self

Описание

string XMLReader::readOuterXML ( void )

Reads the contents of the current node, including the node itself.

Параметри

Тази функция няма параметри.

Връщани стойности

Returns the contents of current node, including itself, as a string. Empty string on failure.

Бележки

Внимание

Тази функция е налична единствено, когато PHP е компилиран с libxml 20620 или по-късна.

Вж. също


XMLReader
PHP Manual