BE_XML_Parse

BE_XML_Parse ( path )

Parses an XML file at path to determine if it's properly formed. Does not check XSD details, just whether every tag is properly opened and closed.

Version : 2.2

Parameters :
path : a system file path to the xml file to check. (for example, "/Users/johndoe/Documents/helloworld.xml" on OS X or "C:\Users\johndoe\Desktop\helloworld.xml" on Win7)

Result : the error result, if any. A properly formed result will return no value at all, and so can be checked with IsEmpty. Any error will include the text result of the error.

Examples :

BE_XML_Parse ( BE_SelectFile ( "" ) )

Have more questions? Submit a request

0 Comments

Article is closed for comments.