On 23 Dec 2007, at 15:53, Torgeir Veimo wrote:

I'm looking for the correct xpath syntax for quering both the properties of a node and the mimetype of a subnode (eg. of nodetype cr:content).


To answer my own question for anyone else needing such a query, the trick was to use jcr:content/@jcr:mimeType;

/jcr:root/nen:content//element(*,nen:resource)[jcr:like(jcr:content/ @jcr:mimeType, 'image/%')]

--
Torgeir Veimo
[EMAIL PROTECTED]



Reply via email to