xsl-list
[Top] [All Lists]

RE: Dynamic evaluation of XPath

2003-03-11 12:04:50
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>