Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

26 righe
1.1 KiB

  1. from lxml.includes.tree cimport xmlDoc, xmlOutputBuffer, xmlChar
  2. from lxml.includes.xpath cimport xmlNodeSet
  3. cdef extern from "libxml/c14n.h" nogil:
  4. cdef int xmlC14NDocDumpMemory(xmlDoc* doc,
  5. xmlNodeSet* nodes,
  6. int exclusive,
  7. xmlChar** inclusive_ns_prefixes,
  8. int with_comments,
  9. xmlChar** doc_txt_ptr)
  10. cdef int xmlC14NDocSave(xmlDoc* doc,
  11. xmlNodeSet* nodes,
  12. int exclusive,
  13. xmlChar** inclusive_ns_prefixes,
  14. int with_comments,
  15. char* filename,
  16. int compression)
  17. cdef int xmlC14NDocSaveTo(xmlDoc* doc,
  18. xmlNodeSet* nodes,
  19. int exclusive,
  20. xmlChar** inclusive_ns_prefixes,
  21. int with_comments,
  22. xmlOutputBuffer* buffer)