XMLReader::readInnerXML

(PHP 5 >= 5.2.0)

XMLReader::readInnerXMLدریافت XML از گره فعلی

Description

string XMLReader::readInnerXML ( void )

خواندن محتوای گره فعلی شامل گره‌های فرزند و markup.

Parameters

This function has no parameters.

Return Values

بازگرداندن محتوای گره فعلی به عنوان رشته. رشته خالی در صورت خطا.

Notes

Caution

This function is only available when PHP is compiled against libxml 20620 or later.

See Also

add a note add a note

User Contributed Notes 2 notes

up
1
Evert Pot
5 months ago
Disregard my other comment.

readInnerXml does not advance the cursor, so you can call it more than once. I made a mistake testing this.
up
-3
Evert Pot
5 months ago
Note that readInnerXml() also advances the cursor.
To Top