RE: how to remove the namespace declaration in the XHTML generate d from HTML Tidy

We did the same thing you are trying to do.  Our solution involved removing
the "xmlns" attribute from the "html" element after running the HTML through
tidy.  We've never had a problem since.
-- 
Kipp E. Howard 
Sr. Software Engineer, LexisNexis File & Serve 
Phone: 425.372.1837 or 800.774.7317 ext 1837 
Email: kipp.howard@lexisnexis.com 

-----Original Message-----
From: Ming Wu [mailto:wu@in.tum.de]
Sent: Saturday, May 17, 2003 12:25 AM
To: html-tidy@w3.org
Subject: how to remove the namespace declaration in the XHTML generated from
HTML Tidy


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 Monday, 19 May 2003 17:33:27 UTC