Title: Convert xml to csv
Last modified: September 9, 2020

---

# Convert xml to csv

 *  Resolved [drstir](https://wordpress.org/support/users/drstir/)
 * (@drstir)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/)
 * I’ve used the Table Maker plugin to create tables on my site. But the plugin 
   is no longer supported so I’ve installed Table Press. My problem is the I can
   only export from Table Maker as an xml. And can only import into Table Press 
   as csv. Can anyone offer any advice on how I convert xml to csv on a Mac? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconvert-xml-to-csv%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/#post-13384193)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Unfortunately, there’s no direct way to convert that XML file to CSV or other
   formats, as XML is more like a language and not a fixed format.
 * It might therefore be easier to simply use the HTML table output that the Table
   Maker plugin produces, and import that into TablePress via the HTML import format.
   As the import source you would simply choose the URL of the page where you are
   showing the table right now.
 * Regards,
    Tobias
 *  Thread Starter [drstir](https://wordpress.org/support/users/drstir/)
 * (@drstir)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/#post-13386362)
 * Many thanks with the prompt response, Tobias. It’s much appreciated. Your solution
   worked really well. I’ve put the new (top) and old (below) tables on this page.
   Is it possible to style the new so it’s similar to the old? [https://www.goyt-valley.org.uk/goyt-valley-families/errwood-hall/](https://www.goyt-valley.org.uk/goyt-valley-families/errwood-hall/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/#post-13386372)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Styling the table is possible with CSS code. In your case, you probably want
   
   [https://tablepress.org/faq/change-background-color-table-head-row/](https://tablepress.org/faq/change-background-color-table-head-row/)
   and [https://tablepress.org/faq/change-background-color-of-a-row/](https://tablepress.org/faq/change-background-color-of-a-row/)
 * Regards,
    Tobias
 *  Thread Starter [drstir](https://wordpress.org/support/users/drstir/)
 * (@drstir)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/#post-13386547)
 * Thanks again, Tobias.
 * One more question (I’m not that good with css); is it possible to add multiple
   rows in the css rule for the row styling? Or do I have to add each row individually?
   This is how I’ve done the two rows…
 * .tablepress-id-2 .row-2 td {
    background-color: #dce9da; color: #2a2a2a; }
 * .tablepress-id-2 .row-10 td {
    background-color: #dce9da; color: #2a2a2a; }
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/#post-13391637)
 * Hi,
 * yes, you can indeed use multiple rows in the CSS selector. Here, basically, whenever
   the part between the `{` and `}` is the same for different chunks of CSS, you
   can combine the part before the `{` as a comma-separated list. Thus, your example
   could written as
 *     ```
       .tablepress-id-2 .row-2 td,
       .tablepress-id-2 .row-10 td {
         background-color: #dce9da;
         color: #2a2a2a;
       }
       ```
   
 * Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Convert xml to csv’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [XLM](https://wordpress.org/support/topic-tag/xlm/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/convert-xml-to-csv/#post-13391637)
 * Status: resolved