SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.elementDecl(doc, 3, ...)
SAX.attributeDecl(doc, val, 1, 3, NULL, ...)
SAX.externalSubset(doc, , )
SAX.startElement(doc, val='v1')
SAX.endElement(doc)
SAX.endDocument()