CSV to XML converter


Settings Remark
Root element An XML file must always have a root element.

The XML template should not contain an XML declaration and root element.
The root element should be entered in this field.
The corresponding closing tag will be automatically inserted.
After the CSV file is converted to an XML file, the XML file looks like:

<document> <!-- root element -->
   <song track="1">
      <title>Dancing queen</title>
      <artist>ABBA</artist>
   </song>
   <song track="3">
      <title>Nine million bicycles</title>
      <artist>Katie Melua</artist>
   </song>
   <song track="2">
      <title >Mercy</title>
      <artist>Duffy</artist>
   </song>
</document> <!-- automatically inserted -->

The root element may contain attributes, for example:

<playlist name="cd1"> <!-- root element -->
   <song track="1">
      <title>Dancing queen</title>
      <artist>ABBA</artist>
   </song>
   <song track="3">
      <title>Nine million bicycles</title>
      <artist>Katie Melua</artist>
   </song>
   <song track="2">
      <title >Mercy</title>
      <artist>Duffy</artist>
   </song>
</playlist> <!-- automatically inserted -->