Lines Matching refs:qnames
188 qnames, namespaces = _namespaces(self._root)
189 _serialize_xml(write, self._root, qnames, namespaces)
322 qnames = {None: None}
343 qnames[qname] = "%s:%s" % (prefix, tag)
345 qnames[qname] = tag # default element
347 qnames[qname] = qname
355 if tag.text not in qnames:
358 if tag not in qnames:
365 if key not in qnames:
367 if isinstance(value, QName) and value.text not in qnames:
370 if isinstance(text, QName) and text.text not in qnames:
372 return qnames, namespaces
374 def _serialize_xml(write, elem, qnames, namespaces, **kwargs): argument
382 tag = qnames[_tounicode(tag) if tag is not None else None]
387 _serialize_xml(write, e, qnames, None)
411 v = qnames[_tounicode(v.text)]
414 write(' %s="%s"' % (qnames[k], v))
420 _serialize_xml(write, e, qnames, None)