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

RE: XHTML issue

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Wed, 11 Jul 2001 10:48:18 -0400
To: <html-tidy@w3.org>
Message-ID: <000901c10a18$86079020$6401a8c0@alex1.va.home.com>
Bradley S. Huffman wrote:

> > <a id="1" name="1">1.</a>.  The name attribute is valid, as name is 
> > NMTOKEN in loose xhtml, but the id is invalid.  

> Do a two step process, use tidy to convert to XHTML, then use 
> XSLT to strip off the id attribute.

Or better, don't use IDs beginning with numbers.

	<a id="a1" name="a1">1.</a>

Will work just fine.  As we move to XHTML, NAME will disappear and be
supplanted by ID.  IDs can't start with a number.


/Jelks
Received on Wednesday, 11 July 2001 10:48:48 GMT

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