Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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 contemplating the Monastery: (4)
As of 2023-06-06 15:31 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (28 votes). Check out past polls.