matth,

XML Schema does have advantages over DTDs, but DTD technology is probably more mature and understood at the moment. I think only the latest XML modules therefore understand XML Schema.

There are as you say quite a range of XML modules too use, for a quick comparison I would recomend mirod's Ways to Rome article as a good place to start.

I rather like the GNOME based XML::LibXML module, it's very fast, fairly feature complete, very feature rich, and under active development. Others no doubt will suggest other modules.

I'd suggest the following nodes to read, to see what people have said in the past:

To give you an idea of ease and speed, I've written simple code that can take one big XML file and parse it to produce over 2000 XHTML pages, and hundreds of folders, in under 1 minute with LibXML and LibXSLT.

Good luck!

update: For XML Schema support check out XML::Schema from Andy Wardley.


--
ajt

In reply to Re: Automatic XML builds by ajt
in thread Automatic XML builds by matth

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.