//element(*,my:resourceNodeType)[*/jcr:contains(.,"test")]
work ?And, how would I do the same for a sling:resourceType (that is not a node type) ie
a parent node has sling:resourceType="my:resourceNodeType" and the node contains test. Any ideas ? Thanks Ian