standard.lib.xml.xmlTextReaderIsEmptyElement

xmlTextReaderIsEmptyElement is available since version 1.0.

Prototype:

number xmlTextReaderIsEmptyElement(number reader)

Parameters

reader
the xmlTextReaderPtr used as returned by xmlReaderForMemory or xmlReaderForFile

Description:

Check if the current node is empty.

Return value:

Returns 1 if empty, 0 if not and -1 in case of error.