On Sat, Nov 8, 2008 at 11:25 PM, Phil Weighill-Smith <[EMAIL PROTECTED]> wrote: > Are you sure you can't use the XPath expression: > > //*[count(child::*) = 0] > > to select the element nodes that have no children (i.e. leaf nodes)?
No, JCR's subset of XPath does not support the count() method. Regards, Alex -- Alexander Klimetschek [EMAIL PROTECTED]
