parseXML

parseXML($arg as String) → Document

Returns a new XML document object created from the lexical XML String passed as an argument.

Arguments

 

$arg

String

The XML string to be converted.

Result

Document

Details

This is a cross-browser method for parsing an XML string and converting it to an XML document object.