csv2xml
![Build Status](https://camo.githubusercontent.com/426afbd68371839824b340be4450380c2c2569e591a98f82bb2c1f0ad534e4a0/68747470733a2f2f7472617669732d63692e6f72672f6472616c6167656e2f63737632786d6c2e7376673f6272616e63683d646576656c6f70)
It's java converter to parse en csv file to xml file.
This parser is compatible with openDataWrapper the lodpaddle wrapper
Maven dependency
<dependency>
<groupId>fr.dralagen</groupId>
<artifactId>csv2xml</artifactId>
<version>0.1</version>
</dependency>
Example of parser:
Input file
name;description;date
element 1;It's my first element;22/10/2014
element 2;;24/10/2014
third element;It's my third element;
Output file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document>
<data>
<element>
<name>element 1</name>
<description>It's my first element</description>
<date>22/10/2014</date>
</element>
<element>
<name>element 2</name>
<description/>
<date>24/10/2014</date>
</element>
<element>
<name>third element</name>
<description>It's my third element</description>
<date/>
</element>
</data>
</document>