Re: problem in ElementTree SubElement

2006-02-06 Thread Fredrik Lundh
Sbaush wrote: > I would get this element in xml: > > > > I have write this: > > date=ET.SubElement(idsreq,"date") > date.set("month",month) > date.set("day",day) > > but i get this: > > > > The attributes are not in my order!! > how i can get the attributes in right order??? XML

problem in ElementTree SubElement

2006-02-06 Thread Sbaush
Hi all. I would get this element in xml:I have write this: date=ET.SubElement(idsreq,"date")        date.set("month",month)        date.set("day",day)but i get this: The attributes are not in my order!!how i can get the attributes in right order??? Thanks all.-- Sbaush -- http://mail.python.org/m