[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Ripping out a@name generating code from thestylesheets [was: <link linkend> in XHTML output]
Jirka Kosek <jirka@kosek.cz>, 2008-10-02 18:17 +0200: > Michael(tm) Smith wrote: > > > To me, that would suggest we make the a@name output a user option, > > but change the default to be to not to output it anymore. > > In principle I have nothing against going from a@name to @id. But is > this effort worth it (there are many places where IDs are generated)? > What are the benefits of using @id instead a@name except fractionally > shorter HTML code? For one, to help people avoid the problems they run into with browsers when they serve documents as text/html that contain <a.../> instances For another, forward compatibility. It's quite possible that a@name will not be valid in HTML5 (there's no reason to keep it since UAs use @id as targets for fragment identifiers). --Mike -- Michael(tm) Smith http://people.w3.org/mike/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]