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