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.elementDecl(c, 3, ...) 8 SAX.elementDecl(d, 3, ...) 9 SAX.externalSubset(doc, , ) 10 SAX.startElement(doc) 11 SAX.startElement(b) 12 SAX.characters(This, 4) 13 SAX.endElement(b) 14 SAX.startElement(d) 15 SAX.characters( is a valid document, 20) 16 SAX.endElement(d) 17 SAX.endElement(doc) 18 SAX.endDocument() 19