SAX.setDocumentLocator() SAX.startDocument() SAX.internalSubset(doc, , ) SAX.elementDecl(doc, 1, ...) SAX.attributeDecl(doc, xmlns, 1, 4, http://www.example.com/, ...) SAX.externalSubset(doc, , ) SAX.startElement(doc) SAX.endElement(doc) SAX.endDocument()