I'm not sure, but you may just be trying to force XML into a situation where it truly isn't needed. XML is not an end all solution to all of your programming problems. XML is an excellent solution to a lot of problems though. User configuration, multi-language environments which need to share data, and business to business data exchanges are just a few.

I will, however, add one (sort of) new technology that may (or may not) help here, XHTML. XHTML is simply HTML which is XML compliant. For instance a <BR> tag would look like <br/>, etc. In this way you could use LWP::Simple and XML::Parser to get the html page and easily parse it. That way users can use the data for other applications, simply by getting the page and grabbing the relevant info.

I thought about doing a web-site football pool (still might, haven't gotten around to it) for work, looked at http://football.espn.go.com/nfl/scoreboard and figured that every week, I could just grab the info from that site as to who is playing, who's at home, etc, but the data (html) would be a little difficult to extract. If they used XHTML it'd be a breeze.

In reply to RE: Perl/XML/MySQL by BastardOperator
in thread Perl/XML/MySQL by rbottoms

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.