![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Convert a Tab-Delimeted File to XMLby darobin (Monk) |
on Sep 30, 2001 at 01:07 UTC ( #115673=note: print w/replies, xml ) | Need Help?? |
You might want to take a look at XML::SAXDriver::CSV, it's a package that's meant precisely for this purpose. It has the added advantage that it is SAX based. This means that not only can it be used to interact with other XML modules easily, but making it write each row to a different file will be as easy as writing a SAX handler that does just that. It's pretty trivial, and a very powerful approach. -- darobin -- knowscape 2 coming soon --
In Section
Seekers of Perl Wisdom
|
|