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