W3C home > Mailing lists > Public > www-archive@w3.org > August 2004

S::P::O example event dump

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 22 Aug 2004 02:33:04 +0200
To: www-archive@w3.org
Message-ID: <4132e912.484189197@smtp.bjoern.hoehrmann.de>
Hi,

  The attached document is an event dump using

  parserKit.setOption(ParserEventGeneratorKit::outputMarkedSections);
  parserKit.setOption(ParserEventGeneratorKit::outputCommentDecls);
  parserKit.setOption(ParserEventGeneratorKit::outputGeneralEntities);

in a format { eventName => data } for a document like

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
  <title>XHTML 1.0: The Extensible HyperText Markup Language</title>
  </head>
  <body>
  <p id="x" invalid1="x" title="
  ..................................................................
  ..................................................................
  ..................................................................
  ..................................................................
  ">...</p>
  <p><![CDATA[...]]></p>
  </body>
  </html>

regards.


Received on Sunday, 22 August 2004 00:34:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:42:44 UTC