cancel
Showing results for 
Search instead for 
Did you mean: 

Get documents with childrenByXPath

suleyman
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to get documents from a space. All the documents (1-6) have this kind of names: namepatern_1.extention. Namepatern is the same for all of the 6 documents. Only the last number and the extention are variable.
I have tried this. But it doen't work. No results:
var Bijlagen = space.childrenByXPath("*[@cm:name='bijlage_']/*");

I can't find any explanation of the syntax. I had just some examples to work with.

Can anyone tell me how I can use childrenByXPath to do this?

Thanks in advance.
1 REPLY 1

suleyman
Champ in-the-making
Champ in-the-making
So this is not possible? I will try with lucene search.