OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] State of the art in anchors?

Le 2004-10-31 09:12 (dimanche), Norman Walsh a écrit /
On 2004-10-31 09:12 (dimanche), Norman Walsh wrote :
> Lots of templates in the XSL stylesheets attempt to generate
> <a name="xxx"> where it would be more convenient to just output 
> IDs. 
> For example:
> <ul>
> <li id="itemid"><p>Some content</p></li>
> </ul>
> instead of
> <ul>
> <li><p><a name="itemid">Some content</p></li>
> </ul>
> Are IDs on any (X)HTML element considered widely enough supported
> now to rely on only the ID attribute markup? 

I have many sites relying on this "id" markup and it works fine with
standard compliant browsers such as the Mozilla family browsers,
Konqueror, etc.

As for MSIE, I had noticed that sometimes headings like 
<h1 id="news">News</h1> would have a temporary lack of display. Then the
headings would re-appear after some page scrolling or text selection.
But it was one of the famous horrible MSIE bugs:
this time the "IE6 Peekaboo Bug"
which has nothing to do with the all-good proposed "id" markup.

In conclusion, the "id" markup is far cleaner than the old
<a name="xxx"> markup. The "id" markup works fine. Using the "id" markup
for DocBook will also make it possible for us to generate XHTML 1.1
compliant HTML output [1]. For all these reasons, I hope it will be
soon fully adopted.

[1] http://www.w3.org/TR/xhtml11/

  On the a and map elements, the name attribute has been removed in
  favor of the id attribute (as defined in [XHTMLMOD]). 
  cf. http://www.w3.org/TR/xhtml11/changes.html#a_changes

Marc-Aurèle DARCHE  <http://www.cynode.org/>
AFUL <http://www.aful.org/>
Association Francophone des Utilisateurs de Linux/Logiciels Libres
French speaking Linux and Libre Software Users' Association

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]