diff options
Diffstat (limited to 'src/lxml/sax.pxd')
-rw-r--r-- | src/lxml/sax.pxd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lxml/sax.pxd b/src/lxml/sax.pxd new file mode 100644 index 00000000..215e53fa --- /dev/null +++ b/src/lxml/sax.pxd @@ -0,0 +1,14 @@ +cimport cython + +cdef tuple _getNsTag(tag) + +cdef class ElementTreeProducer: + cdef _element + cdef _content_handler + cdef _attr_class + cdef _empty_attributes + + @cython.locals(element_nsmap=dict) + cdef inline _recursive_saxify(self, element, dict parent_nsmap) + + cdef inline _build_qname(self, ns_uri, local_name, dict nsmap, preferred_prefix, bint is_attribute) |