Re: JXPath over Generic Collection?, How?

2009-03-11 Thread Andrew Hughes
you're already experienced with building JXPath now you should be able to build from svn trunk and give that a whirl. -Matt --- On Wed, 3/4/09, Matt Benson gudnabr...@yahoo.com wrote: From: Matt Benson gudnabr...@yahoo.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users

Re: JXPath over Generic Collection?, How?

2009-03-11 Thread Matt Benson
For me: context.selectNodes(/root/animal/dog/*[name]) selects [LazyDynaBean {name=(BOXER)}, LazyDynaBean {name=(LABRADOR)}] --- On Wed, 3/11/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons

Re: JXPath over Generic Collection?, How?

2009-03-04 Thread Matt Benson
Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Tuesday, March 3, 2009, 5:37 PM For efficiency reasons I can see why you are using String[] here and not List.add

Re: JXPath over Generic Collection?, How?

2009-03-04 Thread Matt Benson
. -Matt --- On Wed, 3/4/09, Matt Benson gudnabr...@yahoo.com wrote: From: Matt Benson gudnabr...@yahoo.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Wednesday, March 4, 2009, 7:57 AM Hi Andrew,   I agree that going through the list

Re: JXPath over Generic Collection?, How?

2009-03-03 Thread Andrew Hughes
at 3:56 AM, Matt Benson gudnabr...@yahoo.comwrote: Those paths work for me. Maybe something else is going awry? -Matt --- On Thu, 2/26/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Andrew Hughes
: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Wednesday, February 11, 2009, 4:19 AM Still No Luck, I have removed recursive generic collections and have tried the following code... this is becoming

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Matt Benson
with this object model. Sorry for the bad news, Matt --- On Tue, 2/10/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Matt Benson
gudnabr...@yahoo.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Monday, February 23, 2009, 2:58 PM To follow up, the 'name' attribute in particular is what doesn't seem to be working here (change it to e.g. 'game' and it works fine

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Matt Benson
Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Monday, February 23, 2009, 6:24 PM Hi Matt, Thanks HEAPS for you reply, I am really really really grateful. I think that I have progressed just a little with this but there are still some

Re: JXPath over Generic Collection?, How?

2009-02-16 Thread Andrew Hughes
Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Wednesday, February 11, 2009, 4:19 AM Still No Luck, I have removed recursive generic collections and have tried the following code... this is becoming a marathon effort :'( public class

Re: JXPath over Generic Collection?, How?

2009-02-11 Thread Matt Benson
--- On Wed, 2/11/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Wednesday, February 11, 2009, 4:19 AM Still No Luck, I have removed recursive

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Matt Benson
of composition over inheritance. I don't think you're going to get any traction using JXPath with this object model. Sorry for the bad news, Matt --- On Tue, 2/10/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Andrew Hughes
Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Tuesday, February 10, 2009, 7:16 AM Still busted. Example is now simplified. As soon as a generic Collection

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Matt Benson
don't think you're going to get any traction using JXPath with this object model. Sorry for the bad news, Matt --- On Tue, 2/10/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Andrew Hughes
. Composition over inheritance, do you see? HTH, Matt --- On Tue, 2/10/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org, gudnabr...@yahoo.com Date: Tuesday

Re: JXPath over Generic Collection?, How?

2009-02-09 Thread Andrew Hughes
parent object to hold a reference to your container. HTH, Matt --- On Sun, 2/8/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Sunday, February 8

JXPath over Generic Collection?, How?

2009-02-08 Thread Andrew Hughes
Hi All, Hopefully the solution is as easy as the question. I would like to perform evaluation on a (very simple) generic collection... as you can see below (HeirarchyPojo). I should be able to ask for a HeirarchyPojo's with name='Bill' or the 3rd Child... The problem is that nothing ever evaluate