standard.lib.xml.xmlTextReaderIsValid

xmlTextReaderIsValid is available since version 1.0.

Prototype:

number xmlTextReaderIsValid(number reader)

Parameters

reader
the xmlTextReaderPtr used as returned by xmlReaderForMemory or xmlReaderForFile

Description:

Retrieve the validity status from the parser context.

Return value:

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