libgexf  0.1.3
Public Member Functions | Static Public Member Functions | List of all members
libgexf::RngValidator Class Referenceabstract

RelaxNG validator. More...

#include <rngvalidator.h>

Public Member Functions

 RngValidator (const RngValidator &orig)
 Copy constructor.
 

Static Public Member Functions

static bool run (const std::string &xml_file_pathname, const std::string &rng_file_pathname)
 Validate an XML file based on a RelaxNG Schema. More...
 

Detailed Description

RelaxNG validator.

Member Function Documentation

◆ run()

bool libgexf::RngValidator::run ( const std::string &  xml_file_pathname,
const std::string &  rng_file_pathname 
)
static

Validate an XML file based on a RelaxNG Schema.

Parameters
xml_file_pathname: path of the XML file to validate
rng_file_pathname: path of the RNG file
Returns
true if valid, false otherwise

The documentation for this class was generated from the following files: