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