xml2csv icon indicating copy to clipboard operation
xml2csv copied to clipboard

CSV contains results in a single row

Open cubiclemonkey opened this issue 9 months ago • 0 comments

I'm converting XML to CSV, one issue, the fields pulled from the XML file are all on a single row.

Ideally, each block of xml would be a new row. With thousands of blocks, similar to below, parsing all at once would be awesome. Thanks.

Example code:

   <type name="Shirt_BlueCheckBright">

    <nominal>30</nominal>

    <lifetime>14400</lifetime>

    <restock>0</restock>

    <min>20</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Town"/>

    <usage name="Village"/>

   </type>

cubiclemonkey avatar May 13 '25 00:05 cubiclemonkey