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.startElement(doc) 8SAX.endElement(doc) 9SAX.endDocument() 10