1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(html, -//W3C//DTD XHTML 1.0 Strict//EN, http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) 4SAX.externalSubset(html, -//W3C//DTD XHTML 1.0 Strict//EN, http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) 5SAX.comment( 3.1.1 3/ ) 6SAX.startElement(html, xml:lang='en', lang='en') 7SAX.characters( 8 , 3) 9SAX.startElement(head) 10SAX.characters( 11 , 5) 12SAX.startElement(title) 13SAX.characters(Virtual Library, 15) 14SAX.endElement(title) 15SAX.characters( 16 , 3) 17SAX.endElement(head) 18SAX.characters( 19 , 3) 20SAX.comment( 4.8 ) 21SAX.characters( 22 , 3) 23SAX.startElement(script, type='text/javascript') 24SAX.characters( 25 ... unescaped script , 24) 26SAX.characters(<, 1) 27SAX.characters( content ... 28 , 15) 29SAX.endElement(script) 30SAX.characters( 31 , 3) 32SAX.startElement(body) 33SAX.characters( 34 , 5) 35SAX.startElement(p) 36SAX.characters(Moved to , 9) 37SAX.startElement(a, href='http://example.org/') 38SAX.characters(example.org, 11) 39SAX.endElement(a) 40SAX.characters(., 1) 41SAX.endElement(p) 42SAX.characters( 43 , 3) 44SAX.endElement(body) 45SAX.characters( 46 , 3) 47SAX.comment( C2 ) 48SAX.characters( 49 , 3) 50SAX.startElement(img, src='foo.gif', alt='foo') 51SAX.endElement(img) 52SAX.characters( 53 , 3) 54SAX.comment( C3 ) 55SAX.characters( 56 , 3) 57SAX.startElement(p) 58SAX.endElement(p) 59SAX.characters( 60 , 3) 61SAX.comment( C7 ) 62SAX.characters( 63 , 3) 64SAX.startElement(p, lang='fr') 65SAX.characters(coucou, 6) 66SAX.endElement(p) 67SAX.characters( 68 , 3) 69SAX.startElement(p, xml:lang='fr') 70SAX.characters(salut, 5) 71SAX.endElement(p) 72SAX.characters( 73 , 3) 74SAX.comment( C8 ) 75SAX.characters( 76 , 3) 77SAX.startElement(p, name='fragid') 78SAX.characters(test, 4) 79SAX.endElement(p) 80SAX.characters( 81 , 3) 82SAX.comment( 4.5 ) 83SAX.characters( 84 , 3) 85SAX.startElement(dl, compact='') 86SAX.characters( 87 , 3) 88SAX.startElement(dt) 89SAX.characters(Internet Engineering Task Forc, 31) 90SAX.endElement(dt) 91SAX.characters( 92 , 3) 93SAX.startElement(dd) 94SAX.characters(An organization which establis, 70) 95SAX.endElement(dd) 96SAX.characters( 97 , 3) 98SAX.endElement(dl) 99SAX.characters( 100 101, 2) 102SAX.endElement(html) 103SAX.endDocument() 104