How do I validate XML via RELAX NG in Ruby?

Posted by cdleary on Stack Overflow See other posts from Stack Overflow or by cdleary
Published on 2009-05-27T00:51:34Z Indexed on 2010/03/25 10:03 UTC
Read the original article Hit count: 408

Filed under:
|
|

The REXML module appears to have support for RELAX NG validation, but the docs don't have any real information on using the validation portion of the framework.

How would you validate an XML document with a RELAX NG schema? A code snippet would be most helpful. TIA!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about Xml