Hi Christian,
You are correct that you can use XSLT on CSV, but he can get the data into
this format:
<list>
  <java.util.Arrays_-ArrayList>
   
      <string>Name</string>
      <string>Age</string>
      <string>Sex</string>
      <string>Zip</string>
     
  </java.util.Arrays_-ArrayList>
<java.util.Arrays_-ArrayList>
   
      <string>Edward</string>
      <string> 22</string>
      <string>M</string>
      <string>33639</string>
     
  </java.util.Arrays_-ArrayList>
..
</List>

He can use an XSLT to go from that to this:

<List>
<data>
<Name>Edward</Name>
<Age>22</Age>
<Sex>M</Sex>
<Zip>33639</Zip>
</data>
<data>
....
</data>
</List>

Thanks,
Yogesh

--
View this message in context: 
http://camel.465427.n5.nabble.com/Converting-CSV-to-XML-tp5711086p5711610.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to