Namespace and context aware XML generation and parsing.

function O.xml.document()

Creates a new XMLDocument object, used for generating new XML documents.

function O.xml.parse(document)

Reads the argument passed in, and returns a new XMLDocument for reading in XML.

document can be passed in as a JavaScript String, a BinaryData object, or a File.