That seems to work perfectly. Thanks a lot.
-Brett

-----Original Message-----
From: Alexander Klimetschek [mailto:[email protected]] 
Sent: Tuesday, February 24, 2009 5:11 PM
To: [email protected]
Subject: Re: Xpath query to filter out frozen nodes

On Tue, Feb 24, 2009 at 9:51 PM, Conoly, Brett
<[email protected]> wrote:
> What I was trying to implement was some kind of filter against the
> actual jcr:type of file, i.e.
>
>
//*[jcr:contains(.,'pathFilter')]...@wc:fileType='temporary'][jcr:type='my
> :file']
>
> But this doesn't seem to work, any suggestions?

The jcr-special element function is what you need [1]:

//element(*, my:file)[jcr:contains(.,'pathFilter') and
@wc:fileType='temporary']

[1]
http://www.day.com/specs/jcr/1.0/6.6.4.13__i_element____i__Node_Test.htm
l

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to