I have following xml file:
<table name="countries">
<column name="id">1</column>
<column name="name">Abkhazia</column>
<column name="code">XZ</column>
<column name="phone_code">+995</column>
<column name="flag">xz.gif</column>
</table>
how can i format this xml to something like this?
<countries>
<id>1</id>
<name>Abkhazia</name>
<code>XZ</code>
<phone_code>+995</phone_code>
<flag>xz.gif</flag>
</countries>
is there some online resources for this?
This short and simple transformation:
when applied on the provided XML document:
produces the wanted, correct result: