Standard XSLT doesn't allow you to construct XPath expressions as strings and then evaluate them dynamically.
Many products have an extension that does this: look for saxon:evaluate(), xalan:evaluate(), dyn:evaluate() or similar functions.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|