W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2005

Re: Tidy and removing attributes

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 09 Nov 2005 08:55:36 +0100
To: "EL-HAID Nabil" <elhaid@ecole.ensicaen.fr>
Cc: html-tidy@w3.org
Message-ID: <3qa3n1tigcmuq8lo4hcfcahvc5t1svbsco@hive.bjoern.hoehrmann.de>

* EL-HAID Nabil wrote:
><body bgcolor="FFFFFF" bgsound="toto.wav"> ..... </body>
>
>and the output.xml should look like this :
>
><body> ..... </body>
>
>my question is: how can i use Tidy to reach my goal??

There is --drop-proprietary-attributes; if that does not help, you'll
have to make e.g. a XSLT document that removes the attributes you want
to have removed.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 9 November 2005 07:55:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:55 GMT