Connect with us
4325318 Xml2csv Preview

Product Details

  • Sales: 136
  • Author: axelsky
  • Last Update: 2016-05-16T01:25:10+10:00
  • Created Date: 2013-03-25T19:04:56+11:00
  • High Resolution: PHP 5.x
  • Compatible With: IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome

miscellaneous

XML to CSV Converter

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...

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

More in miscellaneous

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *