Baron wrote:
The .NET framework XML classes provided by Microsoft do not support SAX,
rather where SAX is push based parsing .NET provides a pull based
parsing API with XmlReader (respectively XmlTextReader).
DOM is supported the Microsoft and .NET way, System.Xml and its classes
XmlNode, XmlAttribute, XmlDocument, XmlDocumentFragment, XmlEntity,
XmlLinkedNode, XmlCharacterData, XmlDeclaration, XmlDocumentType,
XmlElement, XmlEntityReference, XmlProcessingInstruction, XmlNotation
can be seen as an implementation of the W3C DOM Level 2 Core but with
lots of convenient extensions (like InnerXml, OuterXml, InnerText) and
with variations (e.g. DOM as specified by the W3C wants a
getElementsByTagNameNS whereas DOM as implemented in .NET makes uses of
the possible overloading of methods and implements on
GetElementsByTagName method with necessary overloads to pass in a
namespace URI).
If you want SAX in .NET google for third party solutions.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/