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

XML Schema validator. More...

#include <schemavalidator.h>

Public Member Functions

 SchemaValidator (const SchemaValidator &orig)
 Copy constructor.
 

Static Public Member Functions

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

Detailed Description

XML Schema validator.

Member Function Documentation

◆ run()

bool libgexf::SchemaValidator::run ( const std::string &  xml_file_pathname,
const std::string &  xml_schema_file_pathname 
)
static

Validate an XML file based on an XML Schema.

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

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