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