1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/strict.dtd) 4 SAX.startElement(html) 5 SAX.characters( 6 , 1) 7 SAX.startElement(head) 8 SAX.characters( 9 , 1) 10 SAX.startElement(title) 11 SAX.characters(gnome-xml push mode bug, 23) 12 SAX.endElement(title) 13 SAX.characters( 14 , 1) 15 SAX.endElement(head) 16 SAX.characters( 17 , 1) 18 SAX.startElement(body) 19 SAX.characters( 20 21 , 2) 22 SAX.startElement(table, border='4') 23 SAX.characters( 24 , 3) 25 SAX.startElement(tr) 26 SAX.characters( 27 , 5) 28 SAX.startElement(td, bgcolor='white') 29 SAX.characters( 30 Foo1 31 , 8) 32 SAX.startElement(table, border='4') 33 SAX.characters( 34 , 4) 35 SAX.startElement(tr) 36 SAX.characters( 37 , 6) 38 SAX.startElement(td) 39 SAX.characters(Foo2, 4) 40 SAX.startElement(p) 41 SAX.endElement(p) 42 SAX.startElement(p) 43 SAX.endElement(p) 44 SAX.endElement(td) 45 SAX.endElement(tr) 46 SAX.endElement(table) 47 SAX.characters( 48 , 5) 49 SAX.endElement(td) 50 SAX.characters( 51 , 5) 52 SAX.startElement(td, bgcolor='blue') 53 SAX.characters(Foo3, 4) 54 SAX.endElement(td) 55 SAX.characters( 56 , 4) 57 SAX.endElement(tr) 58 SAX.characters( 59 , 3) 60 SAX.endElement(table) 61 SAX.characters( 62 , 3) 63 SAX.endElement(body) 64 SAX.characters( 65 , 1) 66 SAX.endElement(html) 67 SAX.characters( 68 , 3) 69 SAX.endDocument() 70