![]() Since XML::CSV does not require you to parse the CSV file, you can provide your own data structure to parse.Ĭolumn_data - Specifies the CSV data in a two dimensional array. Can be used as a supplement to using the first column in the file as the XML tag names. ATTRIBUTES new()Įrror_out - Turn on the error handling which will die on all errors and assign the error message to $XML::CSV::csvxml_error.Ĭolumn_headings - Specifies the column heading to use. Ofcourse the DOM implementation takes up more resources and in some instances timing, it's the easiest to use. As the module will provide both: object and event interfaces, it will be used upon individual needs, system resources, and required performance. ![]() No DTD support is currently available, but will be implemented in a soon coming release. Currently you can modify the tag structure to allow for attributes. I will also put in more support for XML, since currently it only allows a simple XML structure. I will also allow more access to the data structures and more documentation. At this point it does not allow for a write as you parse interface but is the first upgrade for the next release. For the time being it uses CSV_XS module object default values to parse the (*.csv) document and then creates a perl data structure with xml tags names and data. XML::CSV is a new module in is going to be upgraded very often as my time permits. $csv_obj->print_xml(file_name, \%attr) DESCRIPTION $status = $csv_obj->parse_doc(file_name, \%attr) $status = $csv_obj->parse_doc(file_name) ![]() XML::CSV - Perl extension converting CSV files to XML SYNOPSIS use XML::CSV ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |