Re: [patch] anchors on all headers

Hi Max.

Could you re-patch it to add an id attribute?

cheers

Chaals

On Tue, 18 Dec 2001, Max Froumentin wrote:


  Since W3C pubrules [1] now require that *all* headers have an anchor,
  I patched xmlspec.xsl to add <a name=""> to all headers that did not
  have one already. That is:

  - the document title (<h1>), name="title"
  - the document subtitle (<h1>), name="subtitle"
  - the document type (<h2>)   name="w3c-doctype"
  - the appendix section title (<h2>). name="appendices"
  - example titles (<h5>) for non-tabular examples. name="{generate-id()}"
  - scrap heads (<h5>). name="{generate-id()}"

  Diff file attached.

  MaxF.



-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)

Received on Tuesday, 18 December 2001 08:20:00 UTC