def to_xml(cls, value, tns, parent_elt, name='retval'): e = etree.SubElement(parent_elt, '{%s}%s' % (tns,name)) dict_to_etree(e, value)
def to_xml(cls, value, tns, parent_elt, name="retval"): e = etree.SubElement(parent_elt, "{%s}%s" % (tns, name)) dict_to_etree(e, value)
def to_xml(cls, value, tns, name='retval'): e = etree.Element('{%s}%s' % (tns,name)) dict_to_etree(e, value) return e