Hi,

you can only use a single element() test per location step. if you want to filter multiple types you need to do that manually by checking jcr:primaryType and jcr:mixinTypes properties. e.g.:

/jcr:root/okm:root//*[jcr:mixinTypes = 'mix:notification' and jcr:primaryType = 'okm:folder']

please note that this does not take the node type hierarchy into account. if you also want to include sub types of okm:folder you need to explicitly specify that.

regards
 marcel

[EMAIL PROTECTED] wrote:
I want to look for nodes which are of a special node type and hace a mixin
attribute, but the query fails:

/jcr:root/okm:root//(element(*, mix:notification) and element(*, okm:folder))

There is another way to perform this query?



Reply via email to