Categories: XML
Latest version: 2.0Added 2004-08-19Updated 2007-01-30
SAX API for .NET.SAX.NET is a port of SAX, originally a Java API, to .NET.SAX is the "Simple API for XML". Like DOM (Document Object Model), it gives access to the information stored in XML documents using any programming language (and a parser for that language). However, both of them take very different approaches to giving you access to your information: DOM creates a tree of nodes (based on the structure and information in your XML document) and you can access your information by interacting with this tree of nodes. DOM gives you access to the information stored in your XML document as a hierarchical object model. The textual information in your XML document gets turned into a bunch of tree nodes. With SAX, the parser tells the application what is in the document by notifying the application of a stream of parsing events. Application then processes those events to act on data. SAX is useful when the document is large.