Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Best X-delimited format?

by samurai (Monk)
on Sep 18, 2002 at 15:54 UTC ( [id://198879]=note: print w/replies, xml ) Need Help??

in reply to Re: Best X-delimited format?
in thread Best X-delimited format?

XML is a bit of overkill, isn't it? I mean, a delimiter is usually one byte, whereas XML tags are much larger in bytes by comparison.

perl: code of the samurai

Replies are listed 'Best First'.
Re: Re: Re: Best X-delimited format?
by anithri (Beadle) on Sep 18, 2002 at 18:17 UTC
    XML does result in larger files. That said though, larger files are very rarely a problem at this stage. If you are involved in flat files that would be so large that XML encoding them would be prohibitive, then the flat files are probably too big already. Also, XML allows much flexibility in adding, moving, and rearranging the data. It's obvioiusly not the one answer for every situation, but it's the best answer for most situations.
      XML allows much flexibility in adding, moving, and rearranging the data.
      That's just hype. Perl will allow you to do the same things on CSV files just as easily. I see no reason at all to use a difficult to parse and bloated XML representation over named-column CSV files, provided the data is strongly tabular.

      Makeshifts last the longest.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-07-23 17:31 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.