RE: [xsl] Dynamic evaluation of XPath

Subject: RE: [xsl] Dynamic evaluation of XPath
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 11 Mar 2003 19:04:50 -0000
> Hi there,
> This could be a dumb question:
> Is there a way we can evaluate a dynamic XPath like:
> <xsl:if test="$tagPath = 'value'">
> The tagPath is something like "//root/tag1/tag2"
> 

Some products have an extension (usually xx:evaluate()) to do this. It
can't be done in standard XSLT 1.0.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread