Separate XML tags with splitter

2012-05-10 Thread Salomon
Hi! I'm a beginner in apache camel and I would develop a route which separate XML tags in differents xml files with the split(). For example : ... One tags in one xml file. Does it possible to do that with camel and how? I didn't find solutions for the momen

Re: Separate XML tags with splitter

2012-05-10 Thread Salomon
I didn't understand very well your solution. In your case, I need to know how many tags I have, otherwise it doesn't work, for example: if I add tags without change the code. 'cause your idea is to split tags one by one...right? It does not exist a solution which separate automatically every tag

Re: Separate XML tags with splitter

2012-05-10 Thread Salomon
There is a difference between: split().xpath("/orders/order") and split(xpath("/orders/order")? I can't run "setHeader(Exchange.FILE_NAME)". Each of my tags have a id number in attribute...may be that could be a solution...!? -- View this message in context: http://camel.465427.n5.nabble.com/