Finds the records
The first list of repeated elements (for example every <book>) becomes the rows.
Find the repeated records in an XML document and export them as spreadsheet rows.
Convert XML to CSV: repeated elements become rows, child tags and attributes become columns. Open XML feeds and exports in Excel or Google Sheets.
<catalog>
<book id="1"><title>Clean Code</title></book>
<book id="2"><title>Refactoring</title></book>
</catalog>id,title
1,Clean Code
2,RefactoringTip: If the wrong elements become rows, paste only the part of the document that contains the records you need.
The first list of repeated elements (for example every <book>) becomes the rows.
Attributes become ordinary columns: id="bk101" gives an id column.
Child elements are flattened into columns like price.currency.
Comma, semicolon or tab delimited output.
The first set of repeated sibling elements found near the top of the document, such as the <item> elements of an RSS feed.
As normal columns named after the attribute, for example id or price.currency. If an attribute and a child element share a name, the attribute column keeps an @ prefix so neither is lost.
Prefixed names such as g:price are kept as column names.
No, parsing uses your browser's built-in XML parser.