xhtml1.sax2 2.7 KB

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