2010/4/28 François Cassistat <[email protected]>: > Your solution looks good, but what if I need to do this kind of test more > than once in the same query?
Sorry, I don't understand. Do you mean check a single node for multiple node types at the same time? Instead of element(*, nt), you can also search for the (virtual) "jcr:primaryType" property, eg. [...@jcr:primaryType='nt:file' or @jcr:primaryType='my:foo'] Regards, Alex -- Alexander Klimetschek [email protected]
