Tidy and removing attributes

hello,

I am a student in a french university and i am working over a project in 
association with France Telecom R&D. the aim of the project is to extract 
informations from bourse web sites.
I encountered a problem during my developpement: i don't know how to remove 
all the tag's attributes when i transform my imput stream to an XML file 
using Tidy.(i want to remove them because i work with XSLT processor)
for example:
the input stream look like this : 

<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??

Any help would be greatly appreciated.

thank you

Received on Wednesday, 9 November 2005 03:19:27 UTC