RE: Storing xpath expressions in a vaiable
> I am trying to store an xpath expression in variable and > trying to > evaluate it and storing the results in another variable. The xpath > expression used might depend on the value of some > parameter(s) passed to > the style sheet. You can't do this in standard XSLT, all XPath expressions must be explicit "at compile time". Saxon has an extension, called stored expressions, that does exactly what you're looking for: allows you to build an XPath expression dynamically as a string. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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