perl - How can I convert an HTML table to a CSV file, while taking colspan and rowspan into account? -
i have perl module constructs html table within it. need add together button allows me save table csv file.
i can figure out how much of it, i'm having problems formatting, namely when comes colspan , rowspan tags. causing shift , mess since thinks there empty columns.
is there away handle colspan , rowspan tags while converting table csv, formatting stays consistent?
if showed illustration of info causing poblems help better, html::tableextract module takes business relationship of rowspan , colspan issues, , can used generate csv data.
however seems best write perl code driven info source can produce either html or csv data. wrong scan html have produced regenerate original info source, , create csv-formatted output that
html perl csv
No comments:
Post a Comment