W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

XHTML issue

From: Carter, Wendy J. (LNG-CIS) <Wendy.Carter@lexisnexis.com>
Date: Tue, 10 Jul 2001 18:00:23 -0400
Message-ID: <17AAD707C88BD21199ED00805F19998901F8A1F3@lnxbetexch01.lexis-nexis.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
I'm using Tidy to convert plain vanilla HTML into XHTML, and am running into
a problem.  

When the input file contains internal anchors, such as: <a name="1">1.</a>,
and the output is switched to xhtml,  the result is:  <a id="1"
name="1">1.</a>.  The name attribute is valid, as name is NMTOKEN in loose
xhtml, but the id is invalid.  I understand that the name attribute is
depreciated in xhtml and that an id attribute is a good practice, but I
would like to turn off the "id" being automatically output, and cannot find
a way to do so.

Any advice?

Received on Tuesday, 10 July 2001 18:00:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC