script2.html.sax 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.startElement(html, xmlns='http://www.w3.org/1999/xhtml')
  5. SAX.ignorableWhitespace(
  6. , 2)
  7. SAX.startElement(head)
  8. SAX.ignorableWhitespace(
  9. , 3)
  10. SAX.startElement(meta, http-equiv='Content-Type', content='text/html; charset=UTF-8')
  11. SAX.endElement(meta)
  12. SAX.ignorableWhitespace(
  13. , 1)
  14. SAX.startElement(title)
  15. SAX.characters(Test Page, 9)
  16. SAX.endElement(title)
  17. SAX.ignorableWhitespace(
  18. , 1)
  19. SAX.endElement(head)
  20. SAX.ignorableWhitespace(
  21. , 1)
  22. SAX.startElement(body)
  23. SAX.characters(
  24. , 1)
  25. SAX.startElement(div, id='portal')
  26. SAX.characters(
  27. , 1)
  28. SAX.startElement(script, type='text/javascript')
  29. SAX.cdata(
  30. documen.write("Př, 74)
  31. SAX.endElement(script)
  32. SAX.characters(
  33. , 2)
  34. SAX.startElement(p)
  35. SAX.characters(
  36. Příliš , 58)
  37. SAX.endElement(p)
  38. SAX.characters(
  39. , 1)
  40. SAX.endElement(div)
  41. SAX.characters(
  42. , 1)
  43. SAX.endElement(body)
  44. SAX.ignorableWhitespace(
  45. , 1)
  46. SAX.endElement(html)
  47. SAX.ignorableWhitespace(
  48. , 2)
  49. SAX.endDocument()