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 2615AD556 for ; Tue, 7 Aug 2012 19:58:50 +0000 (UTC) Received: (qmail 37680 invoked by uid 500); 7 Aug 2012 19:58:49 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 37625 invoked by uid 500); 7 Aug 2012 19:58:49 -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 37610 invoked by uid 99); 7 Aug 2012 19:58:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 19:58:49 +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 (nike.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, 07 Aug 2012 19:58:43 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Sypv4-00081H-81 for users@camel.apache.org; Tue, 07 Aug 2012 12:58:22 -0700 Date: Tue, 7 Aug 2012 12:58:22 -0700 (PDT) From: Deepthi To: users@camel.apache.org Message-ID: <1344369502241-5716946.post@n5.nabble.com> Subject: Node count in camel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Is there a way to find number of nodes in a given xml in camel using spring. For Eg: We have the following xml: 1 2 3 I want to know the number of item tags in order tag and store it in header name say itemCount. I am using camel 2.8.0 Is this possible? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Node-count-in-camel-tp5716946.html Sent from the Camel - Users mailing list archive at Nabble.com.