cancel
Showing results for 
Search instead for 
Did you mean: 

xpath search for documents but not their children

hpalma
Champ in-the-making
Champ in-the-making
I'm doing a xpath search for documents but i can't seem to able to filter out their child associations.

The expression i'm using is "*//*" from the parent space that serves as base for my search but this returns all documents and associated children.
Any ideas would be great.

Thanks.
1 REPLY 1

archana_bonkanp
Champ in-the-making
Champ in-the-making
<#list space.childrenByXPath[".//*[subtypeOf('cm:content')]"] as child>