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