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 358B0115DD for ; Thu, 24 Apr 2014 12:41:38 +0000 (UTC) Received: (qmail 9587 invoked by uid 500); 24 Apr 2014 12:41:15 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 9457 invoked by uid 500); 24 Apr 2014 12:41:15 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 79714 invoked by uid 99); 24 Apr 2014 12:33:00 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of arnaudeprez@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Thu, 24 Apr 2014 05:32:33 -0700 (PDT) From: arnaudeprez To: users@camel.apache.org Message-ID: <1398342753949-5750529.post@n5.nabble.com> In-Reply-To: <001501cf58a1$92b52e00$b81f8a00$@de> References: <1397556272804-5750237.post@n5.nabble.com> <001501cf58a1$92b52e00$b81f8a00$@de> Subject: Re: AW: Split XML with xmlTokenizer and add root element? 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 jhm, I agree, this kind of stuff can be very useful especially for huge file (otherwise we can use xslt and split combinaition). The problem here is how to keep the configuration of the tokenizer simple. For example, we can have : Input : ... ... ... ...
...
Expected splitted result :
...
...
...
...
... ...
We also may have a message with many "headers" and/or "footers". -- View this message in context: http://camel.465427.n5.nabble.com/Split-XML-with-xmlTokenizer-and-add-root-element-tp5750237p5750529.html Sent from the Camel - Users mailing list archive at Nabble.com.