11#ifndef __XML_SCHEMATRON_H__
12#define __XML_SCHEMATRON_H__
16#ifdef LIBXML_SCHEMATRON_ENABLED
25 XML_SCHEMATRON_OUT_QUIET = 1 << 0,
26 XML_SCHEMATRON_OUT_TEXT = 1 << 1,
27 XML_SCHEMATRON_OUT_XML = 1 << 2,
28 XML_SCHEMATRON_OUT_ERROR = 1 << 3,
29 XML_SCHEMATRON_OUT_FILE = 1 << 8,
30 XML_SCHEMATRON_OUT_BUFFER = 1 << 9,
31 XML_SCHEMATRON_OUT_IO = 1 << 10
32} xmlSchematronValidOptions;
37typedef struct _xmlSchematron xmlSchematron;
38typedef xmlSchematron *xmlSchematronPtr;
48typedef void (*xmlSchematronValidityErrorFunc) (
void *
ctx,
const char *
msg, ...);
58typedef void (*xmlSchematronValidityWarningFunc) (
void *
ctx,
const char *
msg, ...);
63typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
64typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr;
66typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt;
67typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;
73 xmlSchematronNewParserCtxt (
const char *URL);
75 xmlSchematronNewMemParserCtxt(
const char *
buffer,
78 xmlSchematronNewDocParserCtxt(
xmlDocPtr doc);
80 xmlSchematronFreeParserCtxt (xmlSchematronParserCtxtPtr ctxt);
96 xmlSchematronParse (xmlSchematronParserCtxtPtr ctxt);
98 xmlSchematronFree (xmlSchematronPtr
schema);
103 xmlSchematronSetValidStructuredErrors(
104 xmlSchematronValidCtxtPtr ctxt,
129 xmlSchematronNewValidCtxt (xmlSchematronPtr
schema,
132 xmlSchematronFreeValidCtxt (xmlSchematronValidCtxtPtr ctxt);
134 xmlSchematronValidateDoc (xmlSchematronValidCtxtPtr ctxt,
static HINSTANCE instance
void(XMLCDECL *) typedef void(XMLCALL * xmlStructuredErrorFunc)(void *userData, xmlErrorPtr error)