1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.elementDecl(doc, 1, ...) 5SAX.attributeDecl(doc, defatt, 9, 1, 0, ...) 6SAX.attributeDecl(doc, xmlns:tst, 1, 4, http://example.org, ...) 7SAX.attributeDecl(doc, tst:att, 9, 1, 1, ...) 8SAX.externalSubset(doc, , ) 9SAX.startElementNs(doc, NULL, NULL, 1, xmlns:tst='http://example.org', 3, 2, att='1"/>...', 1, defatt='0...', 1, tst:att='1...', 1) 10SAX.endElementNs(doc, NULL, NULL) 11SAX.endDocument() 12