xsl-list
[Top] [All Lists]

Re: [xsl] Evaluate XPath from String

2009-06-05 13:03:54
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>