in reply to Re: XML::Twig -- validating files lacking DOCTYPE
in thread XML::Twig -- validating files lacking DOCTYPE

In our experiments, it seemed set_doctype does just that -- it just names the doctype for the output XML -- but it did not validate the inbound XML to the DTD. If we're wrong on this, could you post a snippet on how to use set_doctype correctly? Thanks!
  • Comment on Re: Re: XML::Twig -- validating files lacking DOCTYPE