Framework documentation https://us.v-cdn.net/6025034/uploads/editor/rg/jxvpxxxt63r6.pdf page 71
XML.Element(name, text=None, **kwargs)
How am I meant to create an XML element that has ‘name’ or ‘text’ attribute like the rating tag:
<ratings>
<rating name="" max="10" default="">
<value></value>
<votes></votes>
</rating>
</ratings>
I get a Element() got multiple values for keyword argument ‘name’ due to XML.Element(key, attributes) with attributes = {‘name’=‘test’, …} since the first function variable is also called name…
I need that to complete my generic function inside Lambda agent called “Xml_append” that will append to XML complete tag structures
[https://github.com/ZeroQI/Lambda.bundle/blob/master/Contents/Code/init.py]
Can I escape the variable name maybe?