XMLParse
Return new array
Method Signature
XMLParse(XML=[string])
Arguments
Argument
Type
Required
Description
Default
XML
string
false
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
xml_stream = "
<note>
<to>Alice</to>
<from>Bob</from>
<heading>Reminder</heading>
<body>Here is the message you requested.</body>
</note>
";
dump( XmlParse( xml_stream ) );
Related
Last updated
Was this helpful?