jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Bergöö <jacob.ber...@gmail.com>
Subject XPath query problem
Date Tue, 07 Apr 2009 08:35:24 GMT


I am trying to find all files of a specific type (eg. *.html) from a subtree
in the repository. 
Could not find any solutions in the forum. So far I have managed to list all
files with the following xpath statement:

"TEMPLATES//*[@jcr:primaryType = 'nt:file']"

I tried to use:
fn:ends-with(@name, '.html')

but jackrabbit complains that it does not support this function. 

Any ideas?

best regards,
View this message in context: http://www.nabble.com/XPath-query-problem-tp22924528p22924528.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message