XML

General
XML is an open standard and is a text based markup language. The XML standard is maintained by the World Wide Web Consortium w3c.org.

XML Support in Dynamics AX
There are two abilities to read XML:
 * XMLDocument class
 * SaxReader class

Both support parsing of XML Documents. The XMLDocument builds up the complete DOM tree. This is consumes more memory but allows you to access the document by the DOM methods. A SAX Parser is an event driven parser. It reads the document from an input stream and raises events on document start/end, element start/end, errors etc. It is up to you to handle these events.