I'm trying to use JXPath to filter a java.util.List of
beans so that I get a List (getting back the List is
the important part).
With an xpath statement like:
getValue("/.");
I get back the java.util.List I created the context
on, perfect. BUT...if I want a list of all the beans
with a property 'value=1', I say this:
getValue("/.[value=1]");
(right?)
I only get back the first bean in the list, not the
filtered List (like I expected).
I cannot use the iterate() method, I need the
'filtered' List object back.
..anyone...Bueller?
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]