Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

By all means, if you are more at ease with CSV use CSV. It might be really well-suited to what you are doing and you might not need anything else. I will also be the first to admit that XML is no silver bullet. If people want to throw garbage at you they can throw XML garbage just as well as they would send you useless CSV.

OTOH in the real world XML takes care of encodings (ever received UTF-8 data when you were expecting "regular" latin1?), most people feel that it is more self-documented than CSV. It is also more flexible: it can model more than just tabular data and it is relatively easy to write XML code that can survive moderate changes in the input format (such as new element types being added) without upgrading. The tools are also pretty good, at least on par with the tools you can find for CSV.

In short there is really no need to change all of your tools and all of your processes just to become buzzword-compliant. I don't think any one is advocating this BTW. So stick to CSV if you want to.

I just want to point out that there is really no need to try to convince people that CSV is better than XML. XML is just a rather powerful and well thought-out low-level standard for documents and data interchange. I hope you don't spend your days writing low-level CSV code and that the main logic of your applications is a little bit more interesting ;--) So really whether the underlying format of the data is CSV or XML is not that important. Choose the one you are comfortable with, provided it's powerful enough to work now and in the future.

You know, I rather like ASCII myself, but I don't really try to convince people who use Unicode that they stuff is useless, and I must admit that sometimes 8 bits just don't cut it and I use Unicode.


In reply to Re: Re(5): XML for databases?!?! Is it just me or is the rest of the world nutz? by mirod
in thread XML for databases?!?! Is it just me or is the rest of the world nutz? by S_Shrum

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (16)
    As of 2018-07-23 13:49 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















      Results (468 votes). Check out past polls.

      Notices?