Lines Matching refs:qnames
191 qnames, namespaces = _namespaces(self._root)
192 _serialize_xml(write, self._root, qnames, namespaces)
325 qnames = {None: None}
346 qnames[qname] = "%s:%s" % (prefix, tag)
348 qnames[qname] = tag # default element
350 qnames[qname] = qname
358 if tag.text not in qnames:
361 if tag not in qnames:
368 if key not in qnames:
370 if isinstance(value, QName) and value.text not in qnames:
373 if isinstance(text, QName) and text.text not in qnames:
375 return qnames, namespaces
377 def _serialize_xml(write, elem, qnames, namespaces, **kwargs): argument
385 tag = qnames[_tounicode(tag) if tag is not None else None]
390 _serialize_xml(write, e, qnames, None)
414 v = qnames[_tounicode(v.text)]
417 write(' %s="%s"' % (qnames[k], v))
423 _serialize_xml(write, e, qnames, None)