XML parser functionΒΆ

Parser function

xml_parse()

Parse an XML file


SYNTAX

xml_parse(xml_file)

Parse the XML file specified. The event handler functions should be set before parsing commences.

The function returns one of the following values, which are defined in xml.h:

XML_ERR_OK

No error was found

XML_ERR_PARSING

An error was found



EXAMPLE

info "xml_parse returns (" + tostr(xml_parse(sys.Arg[3])) + ")"

RELATED TOPICS

XML