Hi all,

I have looked on the web quite a bit for finding a solution to my problem, but unfortunately I was not yet able to find too many threads on my issue.

I have an XSLT transformation which, at a given time, calls an "integrated extension function".
The argument passed to the extension function is a (dynamically generated) XPath query String, like the one below:
The query above is executed on an XML fragment, which is constructed separately as part of a standalone XPath instance (i.e. using sxpath's IndependentContext, XPathEvaluator and XPathExpression).
The query above, as you can see in bold, contains name-spaces and variables from the XSLT transformation, so my questions are:
Thank you in advance!