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