Hi,

It not like one split operation, it is more like transformation first, and then 
splitting the xml base on the <Route>  

--  
Willem Jiang

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




On Tuesday, November 19, 2013 at 7:10 AM, cameluser2013 wrote:

> Hi,
>  
> I need to split up a XML into 2 XMLs..
>  
> Example:parent.xml
> <Route>
>  
> <Account>
> <number>..</number>
> </Account>
>  
> <Person>
> <name>..</name>
> </Person>
>  
> </Route>
> it needs to split up to 2 xmls like below
>  
> child1.xml
> <Route>
> <Account>
> <number>...</number>
> </Account>
>  
> child2.xml
> <Route>
> <Person>..</Person>
> </Route>
>  
> Please help me on this and am new to camel...i tried to understand other
> posts in the forum ,but am confused....
>  
> Thanks in advance!!!
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Splitting-up-XML-into-2-XMLs-tp5743468.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to