469,612 Members | 2,568 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

saxon:evaluate

Hi!

How can i do somewhat like saxon:evaluate in my xslt transformation?

I tried to write an extension object, but in my case i need some
context information (the value of an xslt-variable) to evaluate the
xpath expression.

Is there a way to get some context information into an extension
object?
Thanks,

Christoph
Nov 11 '05 #1
1 1742
Christoph Putz wrote:
How can i do somewhat like saxon:evaluate in my xslt transformation?

I tried to write an extension object, but in my case i need some
context information (the value of an xslt-variable) to evaluate the
xpath expression.

Is there a way to get some context information into an extension
object?


I don't think it's feasible in a generic way. You can pass context node as a
parameter of extensoin function and then somehow to evaluate given expression.
But afaik XSLT engine doesn't expose its internal context information like
variable values to extension functions. Instead you have to pass all
information you need as parameters.
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel

Nov 11 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Gabriel | last post: by
4 posts views Thread by Pat Turner | last post: by
2 posts views Thread by ShakyMobo | last post: by
reply views Thread by Christoph Putz | last post: by
3 posts views Thread by Teksure | last post: by
2 posts views Thread by Tjerk Wolterink | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.