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