You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Piroumian Konstantin <KP...@protek.com> on 2002/05/18 17:03:31 UTC

Sections & anchors

This is me again making noise.

I see that the latest document2html.xsl generates anchors to sections
automatically (somebody told that he don't like automatic documents ;) ). Is
there an idea on how to create links to those anchors? If they are generated
during the tranformation then it's impossible to have jumps in the document
like "See 'section 1' for this". 

Any idea?

Best regards,
  Konstantin Piroumian

Re: Sections & anchors

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Piroumian Konstantin wrote:
> I see that the latest document2html.xsl generates anchors to sections
> automatically

That's convenient but could turn out to be a bad idea
in the long term. If you want to have reliable references,
you'll have to give unique names to the referenced stuff.
That's not really the way document writers are comfortable
with, I know. And you need a tool which checks whether a
name is unique, and tools checking for broken references
(should be easy with XSLT). Run the latter automatically.

J.Pietschmann