Server IP : 192.185.129.71 / Your IP : 18.188.4.90 Web Server : Apache System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : svymadmin ( 4072) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/python2.7/site-packages/lxml/includes/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
from lxml.includes cimport tree, xmlerror from lxml.includes.tree cimport xmlDoc, xmlDtd cdef extern from "libxml/schematron.h": ctypedef struct xmlSchematron ctypedef struct xmlSchematronParserCtxt ctypedef struct xmlSchematronValidCtxt ctypedef 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 cdef xmlSchematronParserCtxt* xmlSchematronNewDocParserCtxt( xmlDoc* doc) nogil cdef xmlSchematronParserCtxt* xmlSchematronNewParserCtxt( char* filename) nogil cdef xmlSchematronValidCtxt* xmlSchematronNewValidCtxt( xmlSchematron* schema, int options) nogil cdef xmlSchematron* xmlSchematronParse(xmlSchematronParserCtxt* ctxt) nogil cdef int xmlSchematronValidateDoc(xmlSchematronValidCtxt* ctxt, xmlDoc* instance) nogil cdef void xmlSchematronFreeParserCtxt(xmlSchematronParserCtxt* ctxt) nogil cdef void xmlSchematronFreeValidCtxt(xmlSchematronValidCtxt* ctxt) nogil cdef void xmlSchematronFree(xmlSchematron* schema) nogil cdef void xmlSchematronSetValidStructuredErrors( xmlSchematronValidCtxt* ctxt, xmlerror.xmlStructuredErrorFunc error_func, void *data)