10#ifndef UI_GXML_RELAXNGTREE_HPP
11#define UI_GXML_RELAXNGTREE_HPP
20#include <libxml/relaxng.h>
26class RelaxNGTree:
public ValidatorTree
34 RelaxNGTree(
char const * xml,
int len=-1, std::string
const & base=
DefaultDocbase_,
int const options=0);
35 RelaxNGTree(std::string
const & xml, std::string
const & base=
DefaultDocbase_,
int const options=0);
36 RelaxNGTree(std::istream & xml, std::string
const & base=
DefaultDocbase_,
int const options=0);
37 RelaxNGTree(
FileConstructor const dummy, std::string
const & file,
int const options=0);
44 virtual int libxml2Validate(
Tree const & tree)
const;
46 xmlRelaxNGParserCtxt * parserCtxt_;
47 xmlRelaxNG * relaxng_;
XML tree.
Definition Tree.hpp:31
FileConstructor
Helper enum for constructor from file name.
Definition Tree.hpp:103
static std::string const DefaultDocbase_
Default document base. This is used for from-memory parsing if not specified otherwise.
Definition Tree.hpp:74
Namespace for library project "ui-gxmlcpp".
Definition Buffer.cpp:31
Namespace for all Schlund+Partner Code.
Definition Buffer.cpp:30