Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89B799CCA for ; Tue, 19 Jun 2012 21:45:24 +0000 (UTC) Received: (qmail 4256 invoked by uid 500); 19 Jun 2012 21:45:24 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 4228 invoked by uid 500); 19 Jun 2012 21:45:24 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 4220 invoked by uid 99); 19 Jun 2012 21:45:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 21:45:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of deepthi.t6@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 21:45:18 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Sh6EL-0007bH-Q9 for users@camel.apache.org; Tue, 19 Jun 2012 14:44:57 -0700 Date: Tue, 19 Jun 2012 14:44:57 -0700 (PDT) From: Deepthi To: users@camel.apache.org Message-ID: <1340142297802-5714691.post@n5.nabble.com> Subject: How to achieve both xpath and aggregator MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have the following xml: 1 XXX 2 XXX 1 XXX I want to split the above xml to multiple xml's (based on order tag) and group the xml's which have same order id. So my out put should look like: XML 1: 1 XXX 1 XXX XML 2: 2 XXX How can i achieve this? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/How-to-achieve-both-xpath-and-aggregator-tp5714691.html Sent from the Camel - Users mailing list archive at Nabble.com.