Searched refs:nsmap (Results 1 – 2 of 2) sorted by relevance
126 def start(self, name, attrs, nsmap={}): argument136 elif len(nsmap) > 0:138 inverted_nsmap = dict((value, key) for key, value in nsmap.items())143 for prefix, namespace in nsmap.items():
7840 xmlDOMWrapNsMapFree(xmlNsMapPtr nsmap) in xmlDOMWrapNsMapFree() argument7844 if (nsmap == NULL) in xmlDOMWrapNsMapFree()7846 cur = nsmap->pool; in xmlDOMWrapNsMapFree()7852 cur = nsmap->first; in xmlDOMWrapNsMapFree()7858 xmlFree(nsmap); in xmlDOMWrapNsMapFree()7871 xmlDOMWrapNsMapAddItem(xmlNsMapPtr *nsmap, int position, in xmlDOMWrapNsMapAddItem() argument7877 if (nsmap == NULL) in xmlDOMWrapNsMapAddItem()7881 map = *nsmap; in xmlDOMWrapNsMapAddItem()7893 *nsmap = map; in xmlDOMWrapNsMapAddItem()