Alex,
Thanks for the lead. This type of query works for exact file name matches.
It doesn't work (as stated in that posting for wild card cases)

//*[fn:name()='foo.txt']

Any ideas on how to do a like or wild card search on file names?

Thanks

** julio 

-----Original Message-----
From: Alexander Klimetschek [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 9:17 AM
To: [email protected]
Subject: Re: Simple Xpath query -Looking for a file(node) by name

Maybe you could post the query that you tried?

But I guess this mail has your solution:
http://markmail.org/message/2ppoe5fxldd7abaw

Regards,
Alex

On Thu, Sep 4, 2008 at 7:17 AM, Julio Castillo <[EMAIL PROTECTED]>
wrote:
> I have successfully put together a Query Builder using the latest 
> released version of Jackrabbit accessed remotely via the SPI layer.
> I have no problem searching for content whether inside the file or 
> appended to the file via properties.
> I'm however stuck with a simple query (syntax probably). I looked at 
> the Users' list and didn't find anything here.
>
> Problem: I want to find nodes strictly using the file names (node 
> names I
> suppose) among all the files (nodes) stored in the repository.
>
> Thanks on any clues you can provide
>
> Julio
>
>



--
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to