Using a variable as an Xpath expression
> XSL Error: pattern = 'document('en_US.xml')/locale/$myKey' I am trying to do something quite similar: <xsl:apply-templates select="document($uri)$xpointer" /> , you can't do that. Is there a way in XSLT to go around it with a hack of some sort? Or, I remember Kay Michael once talking about an extension to SAXON which would enable to make XPath expressions from variables, but my memory might not be working correctly this early in the morning. Jarno 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