Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Convert a Tab-Delimeted File to XML

by darobin (Monk)
on Sep 30, 2001 at 01:07 UTC ( #115673=note: print w/replies, xml ) Need Help??

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

  • Comment on Re: Convert a Tab-Delimeted File to XML

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://115673]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-02-06 03:50 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (33 votes). Check out past polls.