from lxml.includes.tree cimport xmlDoc from lxml.includes.xmlparser cimport xmlSAXHandler from lxml.includes.xmlerror cimport xmlStructuredErrorFunc cdef extern from "libxml/xmlschemas.h": ctypedef struct xmlSchema ctypedef struct xmlSchemaParserCtxt ctypedef struct xmlSchemaSAXPlugStruct ctypedef struct xmlSchemaValidCtxt ctypedef enum xmlSchemaValidOption: XML_SCHEMA_VAL_VC_I_CREATE = 1 cdef xmlSchemaValidCtxt* xmlSchemaNewValidCtxt(xmlSchema* schema) nogil cdef void xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxt* ctxt, xmlStructuredErrorFunc serror, void *ctx) cdef void xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxt* ctxt, xmlStructuredErrorFunc serror, void *ctx) cdef int xmlSchemaValidateDoc(xmlSchemaValidCtxt* ctxt, xmlDoc* doc) nogil cdef xmlSchema* xmlSchemaParse(xmlSchemaParserCtxt* ctxt) nogil cdef xmlSchemaParserCtxt* xmlSchemaNewParserCtxt(char* URL) nogil cdef xmlSchemaParserCtxt* xmlSchemaNewDocParserCtxt(xmlDoc* doc) nogil cdef void xmlSchemaFree(xmlSchema* schema) nogil cdef void xmlSchemaFreeParserCtxt(xmlSchemaParserCtxt* ctxt) nogil cdef void xmlSchemaFreeValidCtxt(xmlSchemaValidCtxt* ctxt) nogil cdef int xmlSchemaSetValidOptions(xmlSchemaValidCtxt* ctxt, int options) nogil cdef xmlSchemaSAXPlugStruct* xmlSchemaSAXPlug(xmlSchemaValidCtxt* ctxt, xmlSAXHandler** sax, void** data) nogil cdef int xmlSchemaSAXUnplug(xmlSchemaSAXPlugStruct* sax_plug) cdef int xmlSchemaIsValid(xmlSchemaValidCtxt* ctxt)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
extlibs | Folder | 0755 |
|
|
libexslt | Folder | 0755 |
|
|
libxml | Folder | 0755 |
|
|
libxslt | Folder | 0755 |
|
|
__init__.pxd | File | 0 B | 0644 |
|
__init__.py | File | 0 B | 0644 |
|
c14n.pxd | File | 1.1 KB | 0644 |
|
config.pxd | File | 96 B | 0644 |
|
dtdvalid.pxd | File | 671 B | 0644 |
|
etree_defs.h | File | 15 KB | 0644 |
|
etreepublic.pxd | File | 9.88 KB | 0644 |
|
htmlparser.pxd | File | 2.8 KB | 0644 |
|
lxml-version.h | File | 71 B | 0644 |
|
relaxng.pxd | File | 2.61 KB | 0644 |
|
schematron.pxd | File | 1.6 KB | 0644 |
|
tree.pxd | File | 19.62 KB | 0644 |
|
uri.pxd | File | 139 B | 0644 |
|
xinclude.pxd | File | 852 B | 0644 |
|
xmlerror.pxd | File | 56.64 KB | 0644 |
|
xmlparser.pxd | File | 10.61 KB | 0644 |
|
xmlschema.pxd | File | 1.66 KB | 0644 |
|
xpath.pxd | File | 5.66 KB | 0644 |
|
xslt.pxd | File | 8.15 KB | 0644 |
|