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(d) 15SAX.characters( is a valid document, 20) 16SAX.endElement(d) 17SAX.endElement(doc) 18SAX.endDocument() 19