WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

XML to CSV Converter

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


XML to CSV Converter - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

Xml2Csv Converter PHP class

This PHP class is an easy to use, highly customisable XML 2 CSV converter. You can automatically convert XML to CSV, with only 1 parameter – the XML input (file or string). Advanved features include custom selection of the output fields, setting CSV delimiter and enclosure character etc. The output can be written returned as a string or saved to a file. Features:

- easy conversion with only 1 parameter

- file or string as XML input

- ouput to screen, file or string

- CSV delimiter and enclosure character setting

- custom mapping of XML nodes to CSV fields

- custom export field selection

- setting parameters easily by chained function calls or by accessing them directly

- possibilty to mass-setup of paramters

- set an interval to limit the number of processed items (from, to)

UPDATE

- fixed some bugs

- loading XML with CURL (for those for whom the DOM load does not work)

- added new return type – Array – if you need to process the CSV further before outputting

Check the the demo and online documentation here:

Demo: http://praca.webax.sk/xml2csv/xml2csv.php

Documentation: http://praca.webax.sk/xml2csv/XmlToCsv.html


Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
25 March 13

Last Update:
28 January 14

Compatible Browsers:
IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome

Files Included:
JavaScript JS, HTML, XML, CSS, PHP

Software Version:
PHP 5.x

Keywords

eCommerce, All Items, class, convert, converter, csv, export, feed, fields, import, mapping, nodes, php, xml, xml to csv, xml2csv