test2.html.sax 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. SAX.setDocumentLocator()
  2. SAX.startDocument()
  3. SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/loose.dtd)
  4. SAX.startElement(html)
  5. SAX.startElement(head)
  6. SAX.ignorableWhitespace( , 1)
  7. SAX.startElement(title)
  8. SAX.characters(Linux Today, 11)
  9. SAX.endElement(title)
  10. SAX.endElement(head)
  11. SAX.ignorableWhitespace(
  12. , 1)
  13. SAX.startElement(body, bgcolor='White', link='Blue', text='Black', vlink='Black', alink='Red')
  14. SAX.characters(
  15. , 2)
  16. SAX.startElement(center)
  17. SAX.characters(
  18. , 1)
  19. SAX.startElement(table, border='0', width='100%', cellspacing='0', cellpadding='0')
  20. SAX.characters(
  21. , 9)
  22. SAX.startElement(tr, bgcolor='#FFFFFF')
  23. SAX.characters(
  24. , 17)
  25. SAX.startElement(td, height='90')
  26. SAX.characters(
  27. , 1)
  28. SAX.startElement(a, href='http://linuxtoday.com/cgi-bin/click.pl?adnum=49')
  29. SAX.startElement(img, src='/pics/door_linux.gif', border='0', width='468', height='60', alt='Atipa Linux solutions. Your reliable cluster, server, and workstation solution. Win a Free Celeron Linux Workstation!')
  30. SAX.endElement(img)
  31. SAX.endElement(a)
  32. SAX.characters(
  33. , 18)
  34. SAX.endElement(td)
  35. SAX.characters(
  36. , 5)
  37. SAX.startElement(td)
  38. SAX.startElement(img, src='/pics/lt.gif', vspace='5', alt='Linux Today Logo')
  39. SAX.endElement(img)
  40. SAX.startElement(br)
  41. SAX.endElement(br)
  42. SAX.startElement(font, size='-1')
  43. SAX.startElement(a, href='http://linux.com')
  44. SAX.characters(linux.com, 9)
  45. SAX.endElement(a)
  46. SAX.characters( partner, 8)
  47. SAX.endElement(font)
  48. SAX.startElement(p)
  49. SAX.endElement(p)
  50. SAX.endElement(td)
  51. SAX.characters(
  52. , 10)
  53. SAX.endElement(tr)
  54. SAX.characters(
  55. , 1)
  56. SAX.endElement(table)
  57. SAX.characters(
  58. , 1)
  59. SAX.startElement(font, size='2', face='Helvetica')
  60. SAX.characters(
  61. [ , 3)
  62. SAX.startElement(a, href='http://linuxtoday.com/')
  63. SAX.characters(headlines, 9)
  64. SAX.endElement(a)
  65. SAX.characters( |
  66. , 3)
  67. SAX.startElement(a, href='http://features.linuxtoday.com/')
  68. SAX.characters(features, 8)
  69. SAX.endElement(a)
  70. SAX.characters( |
  71. , 3)
  72. SAX.startElement(a, href='http://commercial.linuxtoday.com/')
  73. SAX.characters(commercial, 10)
  74. SAX.endElement(a)
  75. SAX.characters( |
  76. , 3)
  77. SAX.startElement(a, href='http://security.linuxtoday.com/')
  78. SAX.characters(security, 8)
  79. SAX.endElement(a)
  80. SAX.characters( |
  81. , 3)
  82. SAX.startElement(a, href='http://jobs.linuxtoday.com/')
  83. SAX.characters(jobs, 4)
  84. SAX.endElement(a)
  85. SAX.characters( |
  86. , 3)
  87. SAX.startElement(a, href='http://linuxtoday.com/volt/')
  88. SAX.characters(volt, 4)
  89. SAX.endElement(a)
  90. SAX.characters( |
  91. , 4)
  92. SAX.startElement(a, href='http://linuxtoday.com/contrib.pl')
  93. SAX.characters(contribute/submit, 17)
  94. SAX.endElement(a)
  95. SAX.characters( |
  96. , 3)
  97. SAX.startElement(a, href='http://linuxtoday.com/advertise/')
  98. SAX.characters(advertise, 9)
  99. SAX.endElement(a)
  100. SAX.characters( |
  101. , 3)
  102. SAX.startElement(a, href='http://linuxtoday.com/search.html')
  103. SAX.characters(search, 6)
  104. SAX.endElement(a)
  105. SAX.characters( |
  106. , 3)
  107. SAX.startElement(a, href='http://linuxtoday.com/digests/')
  108. SAX.characters(site digests, 12)
  109. SAX.endElement(a)
  110. SAX.characters( |
  111. , 3)
  112. SAX.startElement(a, href='http://linuxtoday.com/mail-lists')
  113. SAX.characters(mailing lists, 13)
  114. SAX.endElement(a)
  115. SAX.characters( |
  116. , 3)
  117. SAX.startElement(a, href='http://linuxtoday.com/about/')
  118. SAX.characters(about us, 8)
  119. SAX.endElement(a)
  120. SAX.characters( |
  121. , 3)
  122. SAX.startElement(a, href='http://linuxtoday.com/linkus.html')
  123. SAX.characters(link us, 7)
  124. SAX.endElement(a)
  125. SAX.characters( ], 2)
  126. SAX.endElement(font)
  127. SAX.characters(
  128. , 1)
  129. SAX.endElement(center)
  130. SAX.characters(
  131. , 1)
  132. SAX.startElement(p)
  133. SAX.characters(
  134. , 1)
  135. SAX.endElement(p)
  136. SAX.endElement(body)
  137. SAX.ignorableWhitespace(
  138. , 1)
  139. SAX.endElement(html)
  140. SAX.ignorableWhitespace(
  141. , 1)
  142. SAX.endDocument()