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