xmlwrapp
Lightweight C++ XML parsing library
|
Go to the documentation of this file.
39 #ifndef _xmlwrapp_relaxng_h_
40 #define _xmlwrapp_relaxng_h_
44 #include "xmlwrapp/export.h"
95 impl::relaxng_impl *pimpl_;
104 #endif // _xmlwrapp_relaxng_h_
The xml::error_handler class is used to handle libxml2 errors and warnings emitted during parsing,...
Definition: errors.h:85
The xml::document class is used to hold the XML tree and various bits of information about it.
Definition: document.h:85
error_handler_throw_on_error throw_on_error
Error handler object that throws on any error.
XML library namespace.
Definition: attributes.h:52
relaxng(const document &doc, error_handler &on_error=throw_on_error)
Parses XML RelaxNG document and creates relaxng instance from it.
bool validate(const document &doc, error_handler &on_error=throw_on_error) const
Validates the document doc against the relaxng.
XML validator using RelaxNG.
Definition: relaxng.h:68