Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 7181 invoked from network); 21 Nov 2003 20:35:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Nov 2003 20:35:17 -0000 Received: (qmail 94412 invoked by uid 500); 21 Nov 2003 20:35:03 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 94397 invoked by uid 500); 21 Nov 2003 20:35:02 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 94384 invoked from network); 21 Nov 2003 20:35:02 -0000 Received: from unknown (HELO web41606.mail.yahoo.com) (66.218.93.106) by daedalus.apache.org with SMTP; 21 Nov 2003 20:35:02 -0000 Message-ID: <20031121203508.34594.qmail@web41606.mail.yahoo.com> Received: from [199.181.134.220] by web41606.mail.yahoo.com via HTTP; Fri, 21 Nov 2003 12:35:08 PST Date: Fri, 21 Nov 2003 12:35:08 -0800 (PST) From: Erik Earle Subject: Condition Not working as Expected To: commons-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry for the previous misfire! I have a Movie bean that has a property: public Movie { ... List getGenres(); ... } if I have an ArrayList of Movies and I execute an XPath: xPathContext.getValue("/."); I get back the ArrayList of movies as expected. However, if I add a condition (to try and filter the list) I only get the first Movie object matching the list, some thing like: xPathContext.getValue("/.[genre = 'Comedy']"); I know the first thing you'll say is, "use iterate", but I cant. I need the filtered List for what I am doing. __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org