|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Self index?
> Question
Dave, you know this is a little under-specified to call a question:-)
But I'll take a guess.
generate-id() generates an id based on the current node in the source
(which happens to be the stylesheet in your case, but that's not
relevant)
So the question is, what is the current node when
<ul>
<xsl:for-each select="//h3">
<li><a href="#{generate-id()}">
is executed and what is the current node when
<h3 id="{generate-id()}">
is executed?
Since you didn't show any of your styesheet except for those two
snnippets it's hard to tell, but I would guess they are not the same.
David
PS
> playing with xslt2.
> saxon 6.5.2 processor.
?? saxon 6 doesn't do xslt2 ?
________________________________________________________________________
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








