Hi all, I have a question whether I use the org.apache.xpath.XPathContext class correctly: I have implemented the here() function from the XML Signature spec [1]. This function needs some input which is not available from XPath directly: "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." So I used the org.apache.xpath.XPathContext class which has a constructor: XPathContext xctxt = new XPathContext(Object owner); and supplied the Node which contains the xpath string as "owner". Question: Is this the correct use of the owner object? It works, but I don't know whether this is correct from the xalan-philosophy... Christian [1] http://www.w3.org/Signature/Drafts/xmldsig-core/Overview.html#function-here