ParseXML()

语法

Result = ParseXML(#XML, Input$)
概要
Creates a new XML tree from XML data in the string. The XML is expected to be encoded in the string format of the executable (Ascii or Unicode). If another encoding needs to be parsed, the CatchXML() function can be used instead.

参数

#XML A number to identify the new XML. #PB_Any can be used to auto-generate this number.
Input$ The string containing the XML to parse.

返回值

This function only returns zero on memory errors. To check for parser errors XMLStatus() should be used. In case of a parsing error, all data parsed before the error is accessible in the XML tree.

参阅

FreeXML(), CreateXML(), LoadXML(), ParseXML()

已支持操作系统

所有

<- ParentXMLNode() - XML Index - PreviousXMLNode() ->