[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Dynamic XPath expression (I know it doesnt work in

Subject: RE: Dynamic XPath expression (I know it doesnt work in XSLT1.0)
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 26 Aug 2004 18:46:59 +0100
RE:  Dynamic XPath expression (I know it doesnt work in
> After some pretty exhaustive searching on the web, I have decided to 
> join the list. I have noticed in the archives that more than 
> one person 
> has had the same issue as I have...how to create an XPath expression 
> dynamically (from a variable, etc). The answer to these 
> questions was to 
> use any of the available *:evaluate functions. I would like to try to 
> avoid that, since it increases the parse time so much....and 
> that is not 
> acceptable.
> 
> My question is if there is any other way to accomplish this, 
> for example using XSLT2.0. 

Sorry, but this is one feature that we decided not to put in XSLT 2.0. The
only choices are really:

(a) using an xx:evaluate() extension function
(b) modifying the stylesheet before you execute it

I'm not sure why you think there is a performance problem with the extension
function approach?

Michael Kay

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.