in reply to Which XML Validation to use, for Perl

Why do you need to validate Perl generated XML? Are you not using one of the XML writing modules?

There are a large number of Perl modules available for working with XML. Of immediate interest may be XML::Twig, XML::Parser or XML::LibXML for validating XML documents. For writing XML there are a plethora of modules in various stages of creation. XML::Writer is probably a pretty good starting point.


Perl reduces RSI - it saves typing
  • Comment on Re: Which XML Validation to use, for Perl

Replies are listed 'Best First'.
Re^2: Which XML Validation to use, for Perl
by brycen (Monk) on Nov 03, 2008 at 21:57 UTC
    It's hand rolled legacy XML, created by string concatenation. Thus, the need for a final "is it valid" check before shipping it off. I'm interested at this point only in validation -- not parsing, not XML generation.

    The plethora of modules is a problem. What's the easy, simple, robust and mature recommendation on the best one to use?