XmlParse()
Converts an XML document that is represented as a string variable into an XML document object.
XmlParse( xmlString=string, caseSensitive=boolean, validator=any, lenient=boolean );
Returns: Xml
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));
See also
- Parsing
- XML
- HtmlParse()
- XML Fast And Easy, using SAX - Listener Functions
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)