this one should work:

Amir Mistric wrote:
/jcr:root/site1/library/image/background//element(*,nt:base)[fn:lower-case(@type)='jpg']

but only if you are using jackrabbit 1.2.1 or higher and the background node actually has a descendant node with a type property.

regards
 marcel

Reply via email to