There was an interesting article written by Kip Hampton on xml.com about Simple XML Validation with Perl

You may also want to look at Xerces Perl from the The Apache XML Project

Here is what they say on the Xerces Perl home page:
The Xerces Perl project has created a Perl module, Xerces.pm, as the Perl API to the Apache project's Xerces XML parser. It is implemented using the Xerces C++ API, and it provides access to all of the C++ API from Perl. Because it is based on Xerces-C, Xerces.pm provides a validating XML parser that makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. Xerces.pm is faithful to the XML 1.0 recommendation and associated standards ( DOM 1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces), The parser provides high performance, modularity, and scalability. Source code, samples and API documentation are provided with the parser.

Get Strong Together!!


In reply to Re: XML Syntax Checker by aardvark
in thread XML Syntax Checker by nick

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.