1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.elementDecl(doc, 4, ...) 5SAX.elementDecl(a, 3, ...) 6SAX.elementDecl(b, 3, ...) 7SAX.externalSubset(doc, , ) 8SAX.startElement(doc) 9SAX.startElement(a) 10SAX.characters(This, 4) 11SAX.endElement(a) 12SAX.startElement(b) 13SAX.characters( is a valid, 11) 14SAX.endElement(b) 15SAX.startElement(a) 16SAX.characters( document, 9) 17SAX.endElement(a) 18SAX.endElement(doc) 19SAX.endDocument() 20