W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2002

Re: Request: a 'strip-presentation' option

From: Richard A. O'Keefe <ok@cs.otago.ac.nz>
Date: Thu, 25 Jul 2002 17:20:57 +1200 (NZST)
Message-Id: <200207250520.g6P5KvZw218009@atlas.otago.ac.nz>
To: html-tidy@w3.org, jelks@jelks.nu
Cc: Tidy-develop@lists.sourceforge.net

Jelks Cabaniss" <jelks@jelks.nu>
(1) wants a single option to drop presentation stuff entirely,
(2) and for this to also strip class= attributes.

I agree with (1).
But when mapping from XML to HTML I like to use the class= attribute
to record the original XML element type.  If you have an information
retrieval system that tries to exploit element structure (and this is
one very good reason for wanting to have only structural elements
there) then you might want to use the *original* element types in your
indexing, if you know them.  I know someone who is building just such an
information retrieval system, so I wouldn't go along with (2).
What I want instead is a way for presentation stripping not to touch
class attributes at all.
Received on Thursday, 25 July 2002 01:21:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:52 UTC