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 9ADEB176F7 for ; Thu, 20 Nov 2014 23:09:28 +0000 (UTC) Received: (qmail 30017 invoked by uid 500); 20 Nov 2014 23:09:28 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 29969 invoked by uid 500); 20 Nov 2014 23:09:28 -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 29958 invoked by uid 99); 20 Nov 2014 23:09:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2014 23:09:27 +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 (athena.apache.org: transitioning domain of karthik.subramanian2@target.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2014 23:09:22 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id CE51CABA796 for ; Thu, 20 Nov 2014 15:09:01 -0800 (PST) Date: Thu, 20 Nov 2014 16:09:01 -0700 (MST) From: "karthik.subramanian2" To: users@camel.apache.org Message-ID: <1416524941010-5759388.post@n5.nabble.com> Subject: Appending to an already existing XMl with same root node 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 a scenario where i need to append an XML content to an already existing XML file . Already Existing XML : 123 Karthik New XML : 456 Subramanian I need the child nodes alone combined where the final output looks like this : 123 Karthik 456 Subramanian I use Xstream to convert the data into an XML. THe data is a run time determined HashMap for which i have registered a custom converter. I have tried using the Xstream.addImplicitCollection but as i am trying to convert a List of HashMaps, this option doesnt work. Any suggestions ? -- View this message in context: http://camel.465427.n5.nabble.com/Appending-to-an-already-existing-XMl-with-same-root-node-tp5759388.html Sent from the Camel - Users mailing list archive at Nabble.com.