Hi all,
I want to extend the XPath function library with a here() function and use
this self-defined function in the XPathAPI:
Node res = XPathAPI.selectSingleNode(ctx, "here()", nsCtx);
How can I do something like that?
Christian
--- (taken from XML Signature spec) ---
The function here() is defined as follows:
Function: node-set here()
The here function returns a node-set containing the attribute or processing
instruction node or the parent element of the text node that directly bears
the XPath expression. This expression results in an error if the
containing XPath expression does not appear in the same XML document
against which the XPath expression is being evaluated.