1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.elementDecl(doc, 4, ...) 5SAX.elementDecl(tst, 3, ...) 6SAX.attributeDecl(tst, a, 8, 3, NULL, ...) 7SAX.attributeDecl(tst, b, 1, 3, NULL, ...) 8SAX.entityDecl(d, 1, (null), (null), 9) 10SAX.getEntity(d) 11SAX.entityDecl(a, 1, (null), (null), 12) 13SAX.getEntity(a) 14SAX.entityDecl(da, 1, (null), (null), 15) 16SAX.getEntity(da) 17SAX.externalSubset(doc, , ) 18SAX.startElement(doc) 19SAX.characters( 20, 1) 21SAX.startElement(tst, a=' xyz', b=' xyz') 22SAX.endElement(tst) 23SAX.characters( 24, 1) 25SAX.getEntity(d) 26SAX.getEntity(d) 27SAX.getEntity(a) 28SAX.getEntity(a) 29SAX.getEntity(da) 30SAX.getEntity(d) 31SAX.getEntity(d) 32SAX.getEntity(a) 33SAX.getEntity(a) 34SAX.getEntity(da) 35SAX.startElement(tst, a='&d;&d;A&a; &a;B&da;', b='&d;&d;A&a; &a;B&da;') 36SAX.endElement(tst) 37SAX.characters( 38, 1) 39SAX.startElement(tst, a=' 40 41A 42 43B 44', b=' 45 46A 47 48B 49') 50SAX.endElement(tst) 51SAX.characters( 52, 1) 53SAX.startElement(tst, a=' x y ', b=' x y ') 54SAX.endElement(tst) 55SAX.characters( 56, 1) 57SAX.startElement(tst, a=' a b ', b=' a b ') 58SAX.endElement(tst) 59SAX.characters( 60, 1) 61SAX.startElement(tst, a=' a b ', b=' a b ') 62SAX.endElement(tst) 63SAX.characters( 64, 1) 65SAX.endElement(doc) 66SAX.endDocument() 67