csv2xml

A parser csv file to xml file

License

License

Categories

Categories

CSV Data Data Formats
GroupId

GroupId

fr.dralagen
ArtifactId

ArtifactId

csv2xml
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

csv2xml
A parser csv file to xml file
Project URL

Project URL

https://github.com/dralagen/csv2xml
Source Code Management

Source Code Management

https://github.com/dralagen/csv2xml

Download csv2xml

How to add to project

<!-- https://jarcasting.com/artifacts/fr.dralagen/csv2xml/ -->
<dependency>
    <groupId>fr.dralagen</groupId>
    <artifactId>csv2xml</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/fr.dralagen/csv2xml/
implementation 'fr.dralagen:csv2xml:0.2.0'
// https://jarcasting.com/artifacts/fr.dralagen/csv2xml/
implementation ("fr.dralagen:csv2xml:0.2.0")
'fr.dralagen:csv2xml:jar:0.2.0'
<dependency org="fr.dralagen" name="csv2xml" rev="0.2.0">
  <artifact name="csv2xml" type="jar" />
</dependency>
@Grapes(
@Grab(group='fr.dralagen', module='csv2xml', version='0.2.0')
)
libraryDependencies += "fr.dralagen" % "csv2xml" % "0.2.0"
[fr.dralagen/csv2xml "0.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
junit : junit jar 4.12

test (1)

Group / Artifact Type Version
commons-io : commons-io jar 2.4

Project Modules

There are no modules declared in this project.

csv2xml GitHub version Build Status

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>

Versions

Version
0.2.0
0.2.0-beta-1
0.1.1
0.1