http://qs1969.pair.com?node_id=115673


in reply to Convert a Tab-Delimeted File to XML

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 --