W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

how to remove the namespace declaration in the XHTML generated from HTML Tidy

From: Ming Wu <wu@in.tum.de>
Date: Thu, 15 May 2003 16:06:31 -0400 (EDT)
Message-ID: <004601c31b1d$1f03f360$8048960a@r072128>
To: <html-tidy@w3.org>
Hallo,     
        my current job is to generate an XHTML file from HTML with HTML Tidy, then using XSLT to transform XHTML into XML. But the problem is that in the newly generated XHTML File, <html xmlns="http://www.w3.org/1999/xhtml"> the namespace is added automatically by HTML Tidy.  With this declaration, the XSLT won't work at all.  Does anyone have any idea, how could it be worked out using the config.txt from HTML Tidy or other approaches?  Any help will be appreciated, thanks in advance.  

Regards

Ming
Received on Saturday, 17 May 2003 03:25:14 GMT

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