http://swpat.ffii.org/Action against software patents http://www.gnome.org/Gnome2 Logo http://www.w3.org/StatusW3C Logo http://www.redhat.com/Red Hat Logo http://xmlsoft.org/Made with Libxml2 Logo 
Module schematron from libxml2
API Menu ../index.htmlMain Menu ../docs.htmlDeveloper Menu ../examples/index.htmlCode Examples index.htmlAPI Menu libxml-parser.htmlParser API libxml-tree.htmlTree API libxml-xmlreader.htmlReader API ../guidelines.htmlXML Guidelines ../ChangeLog.htmlChangeLog API Indexes ../APIchunk0.htmlAlphabetic ../APIconstructors.htmlConstructors ../APIfunctions.htmlFunctions/Types ../APIfiles.htmlModules ../APIsymbols.htmlSymbols Related links http://mail.gnome.org/archives/xml/Mail archive http://xmlsoft.org/XSLT/XSLT libxslt http://phd.cs.unibo.it/gdome2/DOM gdome2 http://www.aleksey.com/xmlsec/XML-DSig xmlsec ftp://xmlsoft.org/FTP http://www.zlatkovic.com/projects/libxml/Windows binaries http://www.blastwave.org/packages.php/libxml2Solaris binaries http://www.explain.com.au/oss/libxml2xslt.htmlMacOsX binaries http://libxmlplusplus.sourceforge.net/C++ bindings http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4PHP bindings http://sourceforge.net/projects/libxml2-pas/Pascal bindings http://rubyforge.org/projects/xml-tools/Ruby bindings http://tclxml.sourceforge.net/Tcl bindings http://bugzilla.gnome.org/buglist.cgi?product=libxml2Bug Tracker libxml-schemasInternals.htmlPrev libxml-schemasInternals.htmlschemasInternals index.htmlUp index.htmlAPI documentation ../index.htmlHome ../index.htmlThe XML C parser and toolkit of Gnome libxml-threads.htmlthreads libxml-threads.htmlNext interface to the XML Schematron validity checking. 
Table of Contents
Structure #xmlSchematronxmlSchematron struct _xmlSchematron
The content of this structure is not made public by the API.
Structure #xmlSchematronParserCtxtxmlSchematronParserCtxt struct _xmlSchematronParserCtxt
The content of this structure is not made public by the API.
Typedef libxml-schematron.html#xmlSchematronParserCtxtxmlSchematronParserCtxt  * xmlSchematronParserCtxtPtr Typedef libxml-schematron.html#xmlSchematronxmlSchematron  * xmlSchematronPtr Structure #xmlSchematronValidCtxtxmlSchematronValidCtxt struct _xmlSchematronValidCtxt
The content of this structure is not made public by the API.
Typedef libxml-schematron.html#xmlSchematronValidCtxtxmlSchematronValidCtxt  * xmlSchematronValidCtxtPtr Enum #xmlSchematronValidOptionsxmlSchematronValidOptions void	#xmlSchematronFreexmlSchematronFree 		( libxml-schematron.html#xmlSchematronPtrxmlSchematronPtr  schema)void	#xmlSchematronFreeParserCtxtxmlSchematronFreeParserCtxt 	( libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr  ctxt)void	#xmlSchematronFreeValidCtxtxmlSchematronFreeValidCtxt 	( libxml-schematron.html#xmlSchematronValidCtxtPtrxmlSchematronValidCtxtPtr  ctxt) libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr 	#xmlSchematronNewDocParserCtxtxmlSchematronNewDocParserCtxt 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr 	#xmlSchematronNewMemParserCtxtxmlSchematronNewMemParserCtxt 	(const char * buffer, 							 int size) libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr 	#xmlSchematronNewParserCtxtxmlSchematronNewParserCtxt 	(const char * URL) libxml-schematron.html#xmlSchematronValidCtxtPtrxmlSchematronValidCtxtPtr 	#xmlSchematronNewValidCtxtxmlSchematronNewValidCtxt 	( libxml-schematron.html#xmlSchematronPtrxmlSchematronPtr  schema, 							 int options) libxml-schematron.html#xmlSchematronPtrxmlSchematronPtr 	#xmlSchematronParsexmlSchematronParse 	( libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr  ctxt)int	#xmlSchematronValidateDocxmlSchematronValidateDoc 	( libxml-schematron.html#xmlSchematronValidCtxtPtrxmlSchematronValidCtxtPtr  ctxt, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  instance)Function type: #xmlSchematronValidityErrorFuncxmlSchematronValidityErrorFunc void	
#xmlSchematronValidityErrorFuncxmlSchematronValidityErrorFunc 	(void * ctx, 					 const char * msg, 					 ... ...)
Function type: #xmlSchematronValidityWarningFuncxmlSchematronValidityWarningFunc void	
#xmlSchematronValidityWarningFuncxmlSchematronValidityWarningFunc 	(void * ctx, 						 const char * msg, 						 ... ...)
Description
Structure xmlSchematron 
Structure xmlSchematronstruct _xmlSchematron {
The content of this structure is not made public by the API.
}
Structure xmlSchematronParserCtxt 
Structure xmlSchematronParserCtxtstruct _xmlSchematronParserCtxt {
The content of this structure is not made public by the API.
}
Structure xmlSchematronValidCtxt 
Structure xmlSchematronValidCtxtstruct _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_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		( libxml-schematron.html#xmlSchematronPtrxmlSchematronPtr  schema)Deallocate a Schematron structure.
schema: a schema structure Function: xmlSchematronFreeParserCtxt
void	xmlSchematronFreeParserCtxt	( libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr  ctxt)Free the resources associated to the schema parser context
ctxt: the schema parser context Function: xmlSchematronFreeValidCtxt
void	xmlSchematronFreeValidCtxt	( libxml-schematron.html#xmlSchematronValidCtxtPtrxmlSchematronValidCtxtPtr  ctxt)Free the resources associated to the schema validation context
ctxt: the schema validation context Function: xmlSchematronNewDocParserCtxt
libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr 	xmlSchematronNewDocParserCtxt	( libxml-tree.html#xmlDocPtrxmlDocPtr  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
libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr 	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
libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr 	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
libxml-schematron.html#xmlSchematronValidCtxtPtrxmlSchematronValidCtxtPtr 	xmlSchematronNewValidCtxt	( libxml-schematron.html#xmlSchematronPtrxmlSchematronPtr  schema, 							 int options)Create an XML Schematrons validation context based on the given schema.
schema: a precompiled XML Schematrons options: a set of libxml-schematron.html#xmlSchematronValidOptionsxmlSchematronValidOptions Returns: the validation context or NULL in case of error Function: xmlSchematronParse
libxml-schematron.html#xmlSchematronPtrxmlSchematronPtr 	xmlSchematronParse	( libxml-schematron.html#xmlSchematronParserCtxtPtrxmlSchematronParserCtxtPtr  ctxt)parse a schema definition resource and build an internal XML Shema struture 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: xmlSchematronValidateDoc
int	xmlSchematronValidateDoc	( libxml-schematron.html#xmlSchematronValidCtxtPtrxmlSchematronValidCtxtPtr  ctxt, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  instance)Validate a tree instance against the schematron
ctxt: the schema validation context instance: the document instace 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, 					 ... ...)
ctx: msg: ...: Function type: xmlSchematronValidityWarningFunc
Function type: xmlSchematronValidityWarningFunc
void	xmlSchematronValidityWarningFunc	(void * ctx, 
						 const char * msg, 						 ... ...)
ctx: msg: ...: ../bugs.htmlDaniel Veillard 
