Convert XML file to CSV
- by skerit
After having converted a messed up XML using regex, I now need to change it yet again.
This source file
<product>
<sku>SP00001</sku>
<PID_OWNER_SellerID>StoreName</PID_OWNER_SellerID>
<EANCode>8711983489813</EANCode>
<DeliveryDays>2</DeliveryDays>
</product>
Has to become a CSV file, but like this:
sku field value
SP00001 PID_OWNER_SellerID StoreName
SP00001 EANCode 8711983489813
SP00001 DeliveryDays 2
I take it this is outside of regex' scope and has to be done with XSL?