XMLStatus()

Syntax

Result = XMLStatus(#XML)
Description
Returns the status of the last parsing operation done on this XML tree (using LoadXML() or ParseXML()). This function should be called after every LoadXML() or ParseXML() call to ensure that the parsing succeeded. A string representation of the parsing status (ie a readable error-message) is returned by the XMLError() function.

Parameters

#XML The XML to use.

Return value

A value of zero (#PB_XML_Success) indicates a successful parsing, all other values indicate various error conditions.

The following returnvalues are possible:
  #PB_XML_Success             : no error
  #PB_XML_Error               : an error has occured

Supported OS

All

<- XMLNodeType() - XML Index