Hello,
Please help with exporting some dict to .xml view with attributes
inside tags.
Like:
<?xml version="1.0" encoding="UTF-8"?>
<document>
<itemtitle hello='world'>Title</itemtitle>
<itemvalue>Value</itemvalue>
</document>
I am talking about "hello='world'" in the itemtitle tag.
I know, I could do it with TAG, but how to make it using regular
dict() return?
i mean:
def myxml():
return dict(itemtitle='Title',itemvalue='Value)
I fail tring to get it works with attribute inside the tag.
Any Ideas?
Thanks in advance.
--
Maxim Kostrikin