Skip to content

igralkin/xml-to-csv-php-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

XML to CSV PHP converter

Entry parameteres

$xmldata='SOURCE_URL.xml';

$csvFile = 'results.csv';

$xPath = '//product';

$delimiter = ',';

One of this array must be empty, or INCLUDE columns, or EXCLUDE:

$included_columns = array(); $excluded_columns = array('description');

Use function - generates CSV

xml2csv($xmldata, $csvFile, $xPath, $included_columns, $excluded_columns, $delimiter);

About

XML to CSV PHP converter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages