# Module xml

Provides parseXML and an importNode implementation.

## public members:▲

### NoXMLParser()

Exception thrown if no parser could be instanciated.

### ParsingFailed()

Exception thrown if a document could not be parsed.

- ParsingFailed::xml The xml source which could not be parsed.

### parseXML(xml)

Parses an xml document.
xml The xml text.
returns A DOM of the xml document.

### importNode(importedNode,deep)

DOM2 implimentation of document.importNode().
This will import into the current document. In SVG it will create SVG nodes in HTML it will create HTML nodes....
This might become customizable in the future.
importedNode The node to import.
deep =true Import all childNodes recursively.
returns The imported Node.

### node2XML(node)

Turns an XML document into a String.
node The node to print.
returns A string containing the text for the XML.

## requirements▲

Requires Mozilla's or IE's XML objects or parseXML in SVG(ASV).