[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

current() of current()


Subject: current() of current()
From: "Steve Brown" <prospect@xxxxxxxxxxx>
Date: Wed, 26 Jul 2000 18:15:32 +1000

hi,

simple question yet its got me stumped.

<xsl:for-each select="a">
	<xsl:for each select = "//b[@aref = current()/@ref]">
		<xsl:value-of select = "//c[@aref = current()/current()/@ref"/>
	</xsl:for-each>
</xsl:for-each>

the current()/current() bit is illegal but how should you write it? 

Thanks,

Steve.


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



Current Thread