/usr/share/doc/libxml2-devel/html
NameSizeModeActions
book1.html96350644editdlrm
home.png6540644editdlrm
index.html96350644editdlrm
left.png4590644editdlrm
libxml-c14n.html180560644editdlrm
libxml-catalog.html410210644editdlrm
libxml-chvalid.html184230644editdlrm
libxml-debugXML.html379110644editdlrm
libxml-dict.html179450644editdlrm
libxml-DOCBparser.html206250644editdlrm
libxml-encoding.html350320644editdlrm
libxml-entities.html276890644editdlrm
libxml-globals.html330880644editdlrm
libxml-hash.html473760644editdlrm
libxml-HTMLparser.html600720644editdlrm
libxml-HTMLtree.html286380644editdlrm
libxml-lib.html96350644editdlrm
libxml-list.html300730644editdlrm
libxml-nanoftp.html270900644editdlrm
libxml-nanohttp.html212240644editdlrm
libxml-parser.html1467670644editdlrm
libxml-parserInternals.html1225140644editdlrm
libxml-pattern.html236730644editdlrm
libxml-relaxng.html410020644editdlrm
libxml-SAX.html434820644editdlrm
libxml-SAX2.html444490644editdlrm
libxml-schemasInternals.html640400644editdlrm
libxml-schematron.html217320644editdlrm
libxml-threads.html171610644editdlrm
libxml-tree.html2356560644editdlrm
libxml-uri.html226780644editdlrm
libxml-valid.html1024590644editdlrm
libxml-xinclude.html197050644editdlrm
libxml-xlink.html216460644editdlrm
libxml-xmlautomata.html395740644editdlrm
libxml-xmlerror.html1097020644editdlrm
libxml-xmlexports.html78550644editdlrm
libxml-xmlIO.html639630644editdlrm
libxml-xmlmemory.html292270644editdlrm
libxml-xmlmodule.html117130644editdlrm
libxml-xmlreader.html1142270644editdlrm
libxml-xmlregexp.html457810644editdlrm
libxml-xmlsave.html192490644editdlrm
libxml-xmlschemas.html477710644editdlrm
libxml-xmlschemastypes.html493760644editdlrm
libxml-xmlstring.html391580644editdlrm
libxml-xmlunicode.html1128520644editdlrm
libxml-xmlversion.html206290644editdlrm
libxml-xmlwriter.html1174800644editdlrm
libxml-xpath.html650420644editdlrm
libxml-xpathInternals.html1432220644editdlrm
libxml-xpointer.html299750644editdlrm
right.png4720644editdlrm
up.png4060644editdlrm
Edit: /usr/share/doc/libxml2-devel/html/libxml-schematron.html (21732B)
Module schematron from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module schematron from libxml2

API Menu
API Indexes
Related links

interface to the XML Schematron validity checking.

Table of Contents

Structure xmlSchematron
struct _xmlSchematron The content of this structure is not made public by the API.
Structure xmlSchematronParserCtxt
struct _xmlSchematronParserCtxt The content of this structure is not made public by the API.
Typedef xmlSchematronParserCtxt * xmlSchematronParserCtxtPtr
Typedef xmlSchematron * xmlSchematronPtr
Structure xmlSchematronValidCtxt
struct _xmlSchematronValidCtxt The content of this structure is not made public by the API.
Typedef xmlSchematronValidCtxt * xmlSchematronValidCtxtPtr
Enum xmlSchematronValidOptions
void	xmlSchematronFree		(xmlSchematronPtr schema)
void	xmlSchematronFreeParserCtxt	(xmlSchematronParserCtxtPtr ctxt)
void	xmlSchematronFreeValidCtxt	(xmlSchematronValidCtxtPtr ctxt)
xmlSchematronParserCtxtPtr	xmlSchematronNewDocParserCtxt	(xmlDocPtr doc)
xmlSchematronParserCtxtPtr	xmlSchematronNewMemParserCtxt	(const char * buffer, 
int size)
xmlSchematronParserCtxtPtr	xmlSchematronNewParserCtxt	(const char * URL)
xmlSchematronValidCtxtPtr	xmlSchematronNewValidCtxt	(xmlSchematronPtr schema, 
int options)
xmlSchematronPtr	xmlSchematronParse	(xmlSchematronParserCtxtPtr ctxt)
void	xmlSchematronSetValidStructuredErrors	(xmlSchematronValidCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)
int	xmlSchematronValidateDoc	(xmlSchematronValidCtxtPtr ctxt, 
xmlDocPtr instance)
Function type: xmlSchematronValidityErrorFunc
void	xmlSchematronValidityErrorFunc	(void * ctx, 
const char * msg,
... ...)
Function type: xmlSchematronValidityWarningFunc
void	xmlSchematronValidityWarningFunc	(void * ctx, 
const char * msg,
... ...)

Description

Structure xmlSchematron

Structure xmlSchematron
struct _xmlSchematron { The content of this structure is not made public by the API. }

Structure xmlSchematronParserCtxt

Structure xmlSchematronParserCtxt
struct _xmlSchematronParserCtxt { The content of this structure is not made public by the API. }

Structure xmlSchematronValidCtxt

Structure xmlSchematronValidCtxt
struct _xmlSchematronValidCtxt { The content of this structure is not made public by the API. }

Enum xmlSchematronValidOptions

Enum xmlSchematronValidOptions {
    XML_SCHEMATRON_OUT_QUIET = 1 : quiet no report
    XML_SCHEMATRON_OUT_TEXT = 2 : build a textual report
    XML_SCHEMATRON_OUT_XML = 4 : output SVRL
    XML_SCHEMATRON_OUT_ERROR = 8 : output via xmlStructuredErrorFunc
    XML_SCHEMATRON_OUT_FILE = 256 : output to a file descriptor
    XML_SCHEMATRON_OUT_BUFFER = 512 : output to a buffer
    XML_SCHEMATRON_OUT_IO = 1024 : output to I/O mechanism
}

Function: xmlSchematronFree

void	xmlSchematronFree		(xmlSchematronPtr schema)

Deallocate a Schematron structure.

schema:a schema structure

Function: xmlSchematronFreeParserCtxt

void	xmlSchematronFreeParserCtxt	(xmlSchematronParserCtxtPtr ctxt)

Free the resources associated to the schema parser context

ctxt:the schema parser context

Function: xmlSchematronFreeValidCtxt

void	xmlSchematronFreeValidCtxt	(xmlSchematronValidCtxtPtr ctxt)

Free the resources associated to the schema validation context

ctxt:the schema validation context

Function: xmlSchematronNewDocParserCtxt

xmlSchematronParserCtxtPtr	xmlSchematronNewDocParserCtxt	(xmlDocPtr doc)

Create an XML Schematrons parse context for that document. NB. The document may be modified during the parsing process.

doc:a preparsed document tree
Returns:the parser context or NULL in case of error

Function: xmlSchematronNewMemParserCtxt

xmlSchematronParserCtxtPtr	xmlSchematronNewMemParserCtxt	(const char * buffer, 
int size)

Create an XML Schematrons parse context for that memory buffer expected to contain an XML Schematrons file.

buffer:a pointer to a char array containing the schemas
size:the size of the array
Returns:the parser context or NULL in case of error

Function: xmlSchematronNewParserCtxt

xmlSchematronParserCtxtPtr	xmlSchematronNewParserCtxt	(const char * URL)

Create an XML Schematrons parse context for that file/resource expected to contain an XML Schematrons file.

URL:the location of the schema
Returns:the parser context or NULL in case of error

Function: xmlSchematronNewValidCtxt

xmlSchematronValidCtxtPtr	xmlSchematronNewValidCtxt	(xmlSchematronPtr schema, 
int options)

Create an XML Schematrons validation context based on the given schema.

schema:a precompiled XML Schematrons
options:a set of xmlSchematronValidOptions
Returns:the validation context or NULL in case of error

Function: xmlSchematronParse

xmlSchematronPtr	xmlSchematronParse	(xmlSchematronParserCtxtPtr ctxt)

parse a schema definition resource and build an internal XML Schema structure which can be used to validate instances.

ctxt:a schema validation context
Returns:the internal XML Schematron structure built from the resource or NULL in case of error

Function: xmlSchematronSetValidStructuredErrors

void	xmlSchematronSetValidStructuredErrors	(xmlSchematronValidCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)

Set the structured error callback

ctxt:a Schematron validation context
serror:the structured error function
ctx:the functions context

Function: xmlSchematronValidateDoc

int	xmlSchematronValidateDoc	(xmlSchematronValidCtxtPtr ctxt, 
xmlDocPtr instance)

Validate a tree instance against the schematron

ctxt:the schema validation context
instance:the document instance tree
Returns:0 in case of success, -1 in case of internal error and an error count otherwise.

Function type: xmlSchematronValidityErrorFunc

Function type: xmlSchematronValidityErrorFunc
void	xmlSchematronValidityErrorFunc	(void * ctx, 
const char * msg,
... ...)

Signature of an error callback from a Schematron validation

ctx:the validation context
msg:the message
...:extra arguments

Function type: xmlSchematronValidityWarningFunc

Function type: xmlSchematronValidityWarningFunc
void	xmlSchematronValidityWarningFunc	(void * ctx, 
const char * msg,
... ...)

Signature of a warning callback from a Schematron validation

ctx:the validation context
msg:the message
...:extra arguments

Daniel Veillard