How about something like this? xml..activity.children.length() == 0. I think that would do it
-Tino On Tue, Nov 24, 2009 at 6:00 PM, mattgarland2000 <al...@pet-theory.com>wrote: > > > My XML is a series of nested "activities." I want to find LEAF activities, > that is, activities without activity descendents. > > Something like this: > > xml..activity.(descendents('activity').length()==0) > > But of course that does not work. I've always been unsure about the scope > in predicate filter... > > >