SAX
by
John Punin
Table of contents
Simple API for XML
What is an Event-Based API?
How SAX works?
SAX2/Java Parsers and Drivers
Working with SAX
Using Xerces XML Parser
DefaultHandler
SAXParser
Using Xerces XML Parser (2)
Compiling and Running SaxNames example
Working with SAX (2)
Creating SAXHandler and Parser
Writing startElement and endElement
Writing characters
Writing endDocument
Putting all together
Compiling and Running SaxGrades example
Working with SAX (Using Attributes)
Working with SAX (Using Attributes) (2)
Working with SAX (Using Attributes) (3)
Compiling and Running SaxFigures example