문제

I have the following XPath query:

//element(*, hippo:harddocument)[jcr:contains(., 'jasper')]

What I want to do is exclude all nodes of type hand:iris from the result set. How can I do this?

도움이 되었습니까?

해결책

The following query should make it:
"//element(*, hippo:harddocument)[jcr:contains(., 'jasper') and not(@jcr:primaryType = 'hand:iris'))]"

BR.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top