1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.elementDecl(doc, 3, ...) 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.characters( is a , 6) 13SAX.startElement(b) 14SAX.characters(valid, 5) 15SAX.endElement(b) 16SAX.characters( document, 9) 17SAX.endElement(doc) 18SAX.endDocument() 19