Re: [xsl] Self index?

Subject: Re: [xsl] Self index?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 11 Apr 2003 12:31:07 +0100
> > Whilst within an h3 element (in the stylesheet), I have to
> identify this node somehow. I did it by copying the element
> content (yuk), passing it to a named template, which then
> used document()// [] t

I'm confused why can't you just process your h3 elements twice, once to
make the toc, and once to make the headings, and use generate-id() on
each pass to make the two ends of the link?
You shouldn't need to be passingin element content anywhere, except to
render it.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread