XML.parse()
Description
Reads XML document from text.
The input to this method is expected to be a string. If you have a Data input, use XML.decode() instead.
Syntax
XML.parse(text)
Parameters
parse(text)
text
A string containing the text of an XML document.
Return Value
A XML.Node object representing the root document node after parsing.