xml-parse()
The xml-parse
function accepts exactly one argument. The value of the argument is converted to a string and parsed as an XML document. If the argument can be parsed as an XML document, the function returns a node-set containing the document node at the root of the resulting tree. Otherwise, an error is logged, and an empty node-set is returned.
Example
Last updated