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