RE: Rewrite xpath to not use variable references
Thanks! I had tried using it but must have had something else wrong. Ken>The XSLT current() function points to the current node at the start of the XPath expression. Ken> <xsl:template match="w"> Ken> Value: <xsl:value-of select="key('fruit', @x)/b/ Ken> c[@d = current()/@y and .=current()]/../c[@d eq current()/@z]"/>. Ken> </xsl:template>
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