For the complete documentation index, see llms.txt. This page is also available as Markdown.

XMLParse

Return new array

Method Signature

XMLParse(XML=[string], caseSensitive=[boolean], validator=[any], lenient=[boolean])

Arguments

Argument
Type
Required
Description
Default

XML

string

false

The XML string to parse.

caseSensitive

boolean

false

Whether the XML parsing should be case-sensitive.

true

validator

any

false

An optional validator to apply to the parsed XML. This can be a string containing a path or URL to an XSD schema file, or a struct of XML security settings

lenient

boolean

false

Whether the XML parsing should be lenient.

Examples

Parse XML read from a file

Read XML from a file and use the xmlParse method to parse it into an XML data structure.

<bx:file action="read" file="#tempxml#" variable="xmlString">
<bx:set myXML = xmlParse( xmlString ) >

Additional Examples

Last updated

Was this helpful?