Interpreter

How to Move XML Attributes into CSV Columns

2026-06-20
Task

Part of the product data is stored in XML attributes, for example id and code. The result should be a table file where these attributes are regular CSV or XLSX columns.

Short answer

Add the XML file as a source in an interpreter profile and choose CSV or XLSX as the result format. In the table editor, check the id, code, and name columns.

How to Do It in Eofferix

  1. In Interpreter, create or open a profile. Add the XML file as the data source and choose CSV or XLSX as the export format.
  2. Click Continue to open the table editor. XML attributes should appear as separate result columns.
    Table editor after converting XML attributes to CSV columns
    The table editor shows XML attributes as result columns: id, code, and name. The settings icon for id is highlighted.
  3. If a column is not mapped automatically, open its settings and choose the required source: for id, the XML attribute id; for name, the XML node name.

Before / After

Before

XML
<catalog><offer id="1001" code="A-10"><name>Office chair</name></offer></catalog>

After

CSV / XLSX
idcodename
1001A-10Office chair

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up