RE: XHTML issue

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 UTC