I've been pondering a similar problem lately, so I'd like to piggyback on the OP's question. We currently use a messy mix of YAML, JSON, and other homegrown formats to store various pieces of configuration data in our app. We are planning on writing a couple of features soon which depend on representing the entire system configuration in one big text file. We're leaning towards XML, because of a similar requirement to the OP's: that the file be easy to read and manipulate in languages other than Perl.

I am slightly worried that we don't know what we're getting ourselves into, and that the one-big-file is going to wind up being just as much of a nightmare to deal with as our current hodgepodge of separate files. Can anyone suggest good resources for reading up on this? Is there a public library of standard XML formats, so that we won't have to re-invent the wheel? Is a well-designed DTD our magical answer for other languages? Has anyone traveled a similar path and learned any good lessons?

Thanks, Joe


In reply to Re: Recomendations for a good file format to save graph files. by blahblahblah
in thread Recomendations for a good file format to save graph files. by jpearl

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, details, 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, summary, 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.