You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Jeff Turner <je...@apache.org> on 2002/11/09 09:48:30 UTC

Generate for every @id? (Re: id attribute ignored in )

On Fri, Nov 08, 2002 at 03:02:28PM -0500, Rodent of Unusual Size wrote:
> validation didn't varf on
> 
> <note id="Podling">
> 
> but neither did it get rendered into an anchor..
> 
> which should have happened?

Exactly that..

Everyone: the DTD allows @id on any element, but the stylesheet only
generates <a name="..."> for <section>'s.  Would anyone object if I
generalize the stylesheet rule so <a name="..."/> is created for every
@id below <body>?

Proposed patch for forrest-site attached.


--Jeff

Re: Generate for every @id? (Re: id attribute ignored in )

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Jeff Turner wrote:
> 
> On Fri, Nov 08, 2002 at 03:02:28PM -0500, Rodent of Unusual Size wrote:
> > validation didn't varf on
> >
> > <note id="Podling">
> >
> > but neither did it get rendered into an anchor..
> >
> > which should have happened?
> 
> Exactly that..

okey.  sorry, my last line was unclear; it should have been
'which one should have happened?'  i wasn't making any assumptions.

Re: Generate for every @id? (Re: id attribute ignored in )

Posted by David Crossley <cr...@indexgeo.com.au>.
Jeff Turner wrote:
> Rodent of Unusual Size wrote:
> > validation didn't varf on
> > 
> > <note id="Podling">
> > 
> > but neither did it get rendered into an anchor..
> > 
> > which should have happened?
> 
> Exactly that..
> 
> Everyone: the DTD allows @id on any element, but the stylesheet only
> generates <a name="..."> for <section>'s.  Would anyone object if I
> generalize the stylesheet rule so <a name="..."/> is created for every
> @id below <body>?

Do it.
--David