Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 18851 invoked from network); 16 Jul 2007 14:39:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jul 2007 14:39:09 -0000 Received: (qmail 66658 invoked by uid 500); 16 Jul 2007 14:39:06 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 66496 invoked by uid 500); 16 Jul 2007 14:39:05 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 66485 invoked by uid 99); 16 Jul 2007 14:39:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2007 07:39:05 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [159.134.118.26] (HELO mail10.svc.cra.dublin.eircom.net) (159.134.118.26) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Jul 2007 07:39:02 -0700 Received: (qmail 54419 messnum 6681654 invoked from network[213.94.225.250/unknown]); 16 Jul 2007 14:38:41 -0000 Received: from unknown (HELO srv-ie-isa.ie.pilz.local) (213.94.225.250) by mail10.svc.cra.dublin.eircom.net (qp 54419) with SMTP; 16 Jul 2007 14:38:41 -0000 Received: from SRV-IE02.ie.pilz.local ([172.24.8.11]) by srv-ie-isa.ie.pilz.local with InterScan Messaging Security Suite; Mon, 16 Jul 2007 15:38:39 +0100 To: commons-user@jakarta.apache.org Subject: JXPath 1.2 - get objects by class MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: P.Chauhan@pilz.ie Date: Mon, 16 Jul 2007 15:42:02 +0100 X-MIMETrack: Serialize by Router on IEMF01/SRV/Pilz(Release 7.0.2FP2|May 14, 2007) at 16/07/200715:42:06,Serialize complete at 16/07/2007 15:42:06 Content-Type: multipart/alternative; boundary="=_alternative 00506EEF8025731A_=" X-imss-version: 2.030 X-imss-result: Passed X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:4 C:2 M:1 S:2 R:2 (1.0000 1.0000) X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00506EEF8025731A_= Content-Type: text/plain; charset="US-ASCII" Hi, Just wondering if it is possible to retrieve all objects of a specific class from an object tree including if they are contained somewhere in the list. Will this work Iterator iterator = context.iterate("//com.mycompany.MyObject.new()"); Thanks. --=_alternative 00506EEF8025731A_=--