XML Converter · Tutorial
How to create an XML product feed from a spreadsheet
5 min readbeginnerUpdated
A marketplace wants your product list as XML, but you keep it in a spreadsheet. You will export CSV, convert it with meaningful element names and check the result.
What you need
- The XML Converter set to CSV → XML
- A product spreadsheet saved as CSV
Steps
Export CSV
In your spreadsheet choose File › Download › CSV or Save as CSV. Make sure the first row holds column names.
Paste and name the elements
Load the example, then set Root element to
productsand Row element toproduct.<products> <product> <sku>LMP-001</sku> <name>Desk Lamp</name>Match the marketplace format
If their example puts values in attributes, tick Columns as attributes to get
<product sku="LMP-001" name="Desk Lamp" …/>.Validate and upload
Download the file. If the marketplace provides an XSD schema, check the file with the XSD tab of the XML Formatter before uploading.
Try it yourself
Opens the XML Converter with this tutorial's sample loaded.
Common mistakes
- Spaces in column names
- "Product Name" becomes
Product_Name. Rename the column in the spreadsheet if the receiver expectsname. - Numbers formatted by the spreadsheet
- Some spreadsheets export 34.90 as 34.9 or with a comma. Format price columns as text before exporting if exact values matter.
Next steps
Go back to the XML Converter, or keep going with one of these: