Re: JXPath query

2006-08-17 Thread Dmitri Plotnikov
Mumtaz, I would try "companies[department/name='xyz']" Cheers, - Dmitri - Original Message - From: "Mumtaz Siddiqui" <[EMAIL PROTECTED]> To: Sent: Thursday, August 17, 2006 8:40 AM Subject: JXPath query Is it possible to get iteration of root

JXPath query

2006-08-17 Thread Mumtaz Siddiqui
Is it possible to get iteration of root obejects for which XPath expression is true instead of having only the iteration of the leaf-objects according the the XPath? e.g. in case of "companies/department[name='xyz']" I am interested in companies having departments with name='xyz' mumtaz smi