xml()
Usage
xml(string)
Description
Tries to parse the contents of the given string into an XML document, returning the document on success. This method can be used in conjunction with read()
and xpath()
to read data from an XML file on disk.
Example
${xml(read('test.xml'))}
results in
[#document: null]