On Saturday 30 July 2005 3:49 am, Ferdinand Soethe wrote: > Looking closely at document2html (in common) I have my doubts about > the usefulness of translating every id-attribute into an html-anchor > (<a name="..."/>) element. Especially when I start using ids for CSS, > it means that this drastically increases the volume of the final page > by creating lots of anchors that nobody needs.
This also breaks HTML compliance in many cases because in many places the value of the id attribute is constructed using the contents of <title> tags, for instance. IIRC, a URLencoder() is run on the truncated string to generate the ID attribute, and this often contains characters (such as +) that are not allowed by XHTML in id attributes. > Wouldn't it make more sense to limit this anchor-processing of > id-attributes to a few structural elements like headings and just copy > the id without processing for all other elements? +1. What do you mean by copying the id for all other elements? Diwaker -- Web/Blog/Gallery: http://floatingsun.net
pgpf4DbkohkWQ.pgp
Description: PGP signature
