xhtml1.sax 2.1 KB

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