[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Evaluate XPath from String


Subject: Re: [xsl] Evaluate XPath from String
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 05 Jun 2009 19:03:24 +0200

James Cummings wrote:

But I guess my question is how hard is it to create
fn:myEvaluate() in XSLT2 which does basically the same thing?

I don't think you can do that in pure XSLT/XPath. You could however write a stylesheet generating a second stylesheet that you could then run. But you would need plumbing code outside of XSLT to do that or you would need another extension (http://www.saxonica.com/documentation/extensions/functions/transform.html)


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/


Current Thread
Keywords