SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.elementDecl(doc, 3, ...)
SAX.attributeDecl(doc, val, 1, 3, NULL, ...)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 1, 0, val='v1"/...', 2)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()