Summary


SAX is an excellent API for analyzing and extracting information from large XML documents without incurring the time and space overheads associated with the DOM. In this chapter, you learned how to use SAX to catch events passed to you by a parser, by implementing a known SAX interface, DefaultHandler. You used this to extract some simple information from an XML document. You also looked at error handling, and found out how to implement sophisticated intelligent parsing, and reporting errors. In addition you looked at how to search, update and validate an XML document using SAX.




Professional XML
Professional XML (Programmer to Programmer)
ISBN: 0471777773
EAN: 2147483647
Year: 2004
Pages: 215

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net