CSVtoXML V.1.3

http://ibbtek.altervista.org/

ibbtek@gmail.com


HELP

English:

/!\ You need a Java JRE installed on your computer to be able to run this software. Download and install the last Java JRE from THIS LINK if you don't already have it. This software was compiled and tested on LinuxMint 16. It's supposed to be cross-platform but I would appreciate if anybody can send me feedback when successfully run on other platform. The source code is include in the jar file. Simply change the .jar extension to .zip extension and open it to get the source code.

To use this software you need a CSV file with the first row containing the fields name.

After that, simply follow those steps:

1) Select the CSV file you want to convert.

2) Select or create the target XML file.

3) Specify the delimiter used by the CSV file. Only the following delimiters are allowed : ',' (comma) or ';' (semicolon) or '\t' (tab) or '|' (vertical bar).

4) Specify the name that will represent a row.

5) Press the "Convert CSVtoXML" button and wait till the program finish to convert your file.


Example:

"Screenshot-CSVtoXML-example.png"
The CSV file "example.csv":

Name,Mobile,Home
Ahmad,08888,09999
Muhammad,05555,06666

Will produce the following XML output file "example.xml":

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <person>
     <Name>Ahmad</Name>
     <Mobile>08888</Mobile>
     <Home>09999</Home>
  </person>
  <person>
     <Name>Muhammad</Name>
     <Mobile>05555</Mobile>
     <Home>06666</Home>
  </person>
</root>


Français:

/!\ Vous avez besoin d'installer la JRE de Java sur votre ordinateur afin de pouvoir faire fonctionner ce logiciel. Téléchargez et installez la dernière JRE de Java depuis CE LIEN si vous ne l'avez pas déjà. Ce logiciel a été compilé et testé avec succès sous LinuxMint 16. Il est supposé être multi-platforme, mais j'apprécierais un retour si quiconque l'a testé avec succès sous une autre platforme. Le code source est inclus dans le fichier jar. Changez simplement l'extension .jar en .zip puis ouvrez le fichier pour récupérer le code source.

Pour utiliser ce logiciel vous avez besoin d'un fichier CSV dont la première ligne contient les nom des champs.

Après cela, suivez simplement les étapes suivantes:

1) Selectionnez le fichier CSV que vous voulez convertir.

2) Selectionnez ou créez le fichier XML de destination.

3) Specifiez le separateur utilisé par le fichier CSV. Seuls les séparateurs suivants sont acceptés : ',' (virgule) or ';' (point virgule) or '\t' (tab) or '|' (barre verticale).

4) Specifiez le nom que représente une ligne.

5) Appuyez sur le bouton "Convert CSVtoXML" et attendez jusqu'à ce que le programme termine de convertir votre fichier.


Exemple:

"Screenshot-CSVtoXML-example.png"
Le fichier CSV "example.csv":

Name,Mobile,Home
Ahmad,08888,09999
Muhammad,05555,06666

Produira le fichier XML suivant "example.xml":

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <person>
     <Name>Ahmad</Name>
     <Mobile>08888</Mobile>
     <Home>09999</Home>
  </person>
  <person>
     <Name>Muhammad</Name>
     <Mobile>05555</Mobile>
     <Home>06666</Home>
  </person>
</root>