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

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

From: <Kipp.Howard@lexisnexis.com>
Date: Mon, 19 May 2003 14:04:58 -0700
Message-ID: <5150922C4A9FFE4DA2F658016BF9FA3C0133404E@lnxseamail01.internal.courtlink.com>
To: wu@in.tum.de, html-tidy@w3.org
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 GMT

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