Although the Simple API for XML (SAX) is not built into the .NET platform, SAX type functionality can be created using the XmlTextReader.
Because the XmlTextReader exposes a pull model it can push the content it receives from the XML document to a SAX interface. This example shows how to do that and demonstrates more advanced aspects of using the XmlTextReader class.
This sample is from the book XML
for ASP.NET Developers by Dan Wahlin (Sams Publishing)
|