1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.elementDecl(doc, 1, ...) 5SAX.attributeDecl(doc, xmlns, 1, 4, http://www.example.com/, ...) 6SAX.externalSubset(doc, , ) 7SAX.startElementNs(doc, NULL, 'http://www.example.com/', 1, xmlns='http://www.example.com/', 0, 0) 8SAX.endElementNs(doc, NULL, 'http://www.example.com/') 9SAX.endDocument() 10