You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Gerard van Enk <ge...@eo.nl> on 2000/03/19 23:50:10 UTC
[BUG] in document-v10.dtd or document2html.xsl
Hello,
There's a problem with the "anchor"-tag. In the "Document-v10" dtd there's
an id-attribute and in the "document2html.xsl"-stylesheet there's a
name-attribute for the anchor-tag. Which one is the preffered one, name or
id?
Gerard
Re: [BUG] in document-v10.dtd or document2html.xsl
Posted by Stefano Mazzocchi <st...@apache.org>.
Gerard van Enk wrote:
>
> Hello,
>
> There's a problem with the "anchor"-tag. In the "Document-v10" dtd there's
> an id-attribute and in the "document2html.xsl"-stylesheet there's a
> name-attribute for the anchor-tag. Which one is the preffered one, name or
> id?
Why to go, Gerard, pretty nice eye you've got :)
"id" is the correct one. I've just fixed the stylesheet. This is the
correct one because the parser can do idref validation right away and
helps in cases where your anchor is broken.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------