Simple XML catalog to CSV
Each <book> element becomes a row with child elements as columns.
Sample
<catalog>
<book id="1">
<title>Clean Code</title>
<author>Robert Martin</author>
<price>29.99</price>
</book>
<book id="2">
<title>The Pragmatic Programmer</title>
<author>David Thomas</author>
<price>39.95</price>
</book>
</catalog>What you get
id,title,author,price 1,Clean Code,Robert Martin,29.99 2,The Pragmatic Programmer,David Thomas,39.95