1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
SAX.setDocumentLocator() SAX.startDocument() SAX.internalSubset(doc, , ) SAX.elementDecl(doc, 4, ...) SAX.elementDecl(a, 3, ...) SAX.elementDecl(b, 3, ...) SAX.elementDecl(c, 3, ...) SAX.elementDecl(d, 3, ...) SAX.externalSubset(doc, , ) SAX.startElement(doc) SAX.startElement(b) SAX.characters(This, 4) SAX.endElement(b) SAX.startElement(d) SAX.characters( is a valid document, 20) SAX.endElement(d) SAX.endElement(doc) SAX.endDocument()