1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.attributeDecl(doc, a1, 8, 1, 1 2, ...) 5SAX.elementDecl(doc, 3, ...) 6SAX.externalSubset(doc, , ) 7SAX.startElementNs(doc, NULL, NULL, 0, 1, 1, a1='1 2...', 3) 8SAX.endElementNs(doc, NULL, NULL) 9SAX.endDocument() 10