problem in ElementTree SubElement
Sbaush
sbaush at gmail.com
Mon Feb 6 12:35:25 EST 2006
Hi all.
I would get this element in xml:
<date month="02" day="06" />
I have write this:
date=ET.SubElement(idsreq,"date")
date.set("month",month)
date.set("day",day)
but i get this:
<date day="06" month="02" />
The attributes are not in my order!!
how i can get the attributes in right order???
Thanks all.
--
Sbaush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060206/c3128ac5/attachment.html>
More information about the Python-list
mailing list