Hi Sean,
Sean Callan wrote:
Hi Guys, I've got a question about the XPath within JackRabbit.
I'm currently using this XPath which successfully returns a node,
`//webfmis:[EMAIL PROTECTED]:general='true']` , I'd like to be able to
return the parent node but I'm having absolutely no success in
incorporating `parent::` or `/..`.
jackrabbit does not support the parent axis in queries, which means it should
actually throw an exception in that case.
When I use `parent::` for instance there are no errors but no node is
returned. I've viewed the repository with JCR Web Explorer and I have
confirmed it does in fact go webfmis:document -> webfmis:properties
-> webfmis:role -> @webfmis:general.
I'm looking to return the webfmis:document. Any idea what I'm missing here?
//*[webfmis:role/@webfmis:general='true']
will work.
regards
marcel