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.startElement(doc, att='1') 10SAX.endElement(doc) 11SAX.endDocument() 12