camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Appending to an already existing XMl with same root node
Date Fri, 21 Nov 2014 05:51:49 GMT
It looks like a XStream issue instead of a Camel issue.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On November 21, 2014 at 7:09:29 AM, karthik.subramanian2 (karthik.subramanian2@target.com)
wrote:
> 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.
>  


Mime
View raw message