xmlwrapp
Lightweight C++ XML parsing library
|
Go to the documentation of this file.
39 #ifndef _xmlwrapp_schema_h_
40 #define _xmlwrapp_schema_h_
44 #include "xmlwrapp/export.h"
94 impl::schema_impl *pimpl_;
103 #endif // _xmlwrapp_schema_h_
bool validate(const document &doc, error_handler &on_error=throw_on_error) const
Validates the document doc against the schema.
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
XML Schema.
Definition: schema.h:67
error_handler_throw_on_error throw_on_error
Error handler object that throws on any error.
schema(const document &doc, error_handler &on_error=throw_on_error)
Parses XML Schema document and creates schema instance from it.
XML library namespace.
Definition: attributes.h:52