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