On Thu, May 13, 2010 at 02:06,  <[email protected]> wrote:
> "Jenni Pothu" <[email protected]> wrote on 12/05/2010 09:23:49 PM:
>> //blogEntry/NewblogEntry(*, nt:file)[jcr:contains(.,'"+sometext+"')]

I think you want to use the "element()" function for this, to specify
both a node name and its type in a single xpath location step:

//blogEntry/element(NewblogEntry, nt:file)[jcr:contains(.,'"+sometext+"')]

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to