Xml2Csv Converter PHP class
This PHP class is a straightforward to make use of, extremely customisable XML 2 CSV converter. You may routinely convert XML to CSV, with just one parameter – the XML enter (file or string). Advanved options embrace customized collection of the output fields, setting CSV delimiter and enclosure character and so forth.
The output could be written returned as a string or saved to a file.
– straightforward conversion with just one parameter
– file or string as XML enter
– ouput to display screen, file or string
– CSV delimiter and enclosure character setting
– customized mapping of XML nodes to CSV fields
– customized export subject choice
– setting parameters simply by chained operate calls or by accessing them instantly
– possibilty to mass-setup of paramters
– set an interval to restrict the variety of processed objects (from, to)
– fastened some bugs
– loading XML with CURL (for these for whom the DOM load doesn’t work)
– added new return sort – Array – if that you must course of the CSV additional earlier than outputting
Examine the the demo and on-line documentation right here: