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.html Regards, Alex -- Alexander Klimetschek [email protected]
