You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
804 B

  1. from lxml.includes.tree cimport xmlDoc, xmlNode
  2. cdef extern from "libxml/xinclude.h" nogil:
  3. ctypedef struct xmlXIncludeCtxt
  4. cdef int xmlXIncludeProcess(xmlDoc* doc)
  5. cdef int xmlXIncludeProcessFlags(xmlDoc* doc, int parser_opts)
  6. cdef int xmlXIncludeProcessTree(xmlNode* doc)
  7. cdef int xmlXIncludeProcessTreeFlags(xmlNode* doc, int parser_opts)
  8. # libxml2 >= 2.7.4
  9. cdef int xmlXIncludeProcessTreeFlagsData(
  10. xmlNode* doc, int parser_opts, void* data)
  11. cdef xmlXIncludeCtxt* xmlXIncludeNewContext(xmlDoc* doc)
  12. cdef int xmlXIncludeProcessNode(xmlXIncludeCtxt* ctxt, xmlNode* node)
  13. cdef int xmlXIncludeSetFlags(xmlXIncludeCtxt* ctxt, int flags)
  14. # libxml2 >= 2.6.27
  15. cdef int xmlXIncludeProcessFlagsData(
  16. xmlDoc* doc, int flags, void* data)