This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Bib refs
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Bib refs
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 23 Feb 2001 17:13:40 GMT
- References: <jUsT.aNoTheR.mEsSaGe.iD.9829398672778@silmaril.ie>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sorry Friday afternoon, need to correct the correction.
Then something like
<xsl:variable name="x" select="@doc"/>
<xsl:for-each select="$sorted-refs">
<xsl:value-of select="id($x)/../@number"/>
</xsl:for-each>
This won't work as the id attribute isn't of type ID in the node sets in
the variable. Could use a key or just
<xsl:value-of
select="x:node-set($sorted-refs)/ref[*/@id=current()/@doc]/@number"/>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list