Hi, I want to evaluate XPath string supplied through element attribute in extension instruction(Java). How can I pass current context(e.g. static|dynamic context, namespace) to XPathEvaluator? I'm new to Saxon and XSLT, probably this is just a silly question. Currently my code looks like:
private static doSelect(
XPathContext context,
String selectStr)
{
String nodeText = "";
XPathEvaluator evaluator = new XPathEvaluator();
nodeText = evaluator.evaluate(selectStr, context.getContextItem);
}