Mumtaz,
I would try "companies[department/name='xyz']"
Cheers,
- Dmitri
----- Original Message -----
From: "Mumtaz Siddiqui" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 17, 2006 8:40 AM
Subject: JXPath query
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]