<font size="4">Hi all. <br>I would get this element in xml:</font><br><span style="font-family: courier new,monospace;"><br>&lt;date month=&quot;02&quot; day=&quot;06&quot;&nbsp; /&gt;</span><br><br><font size="4">I have write this:
</font><br><br><span style="font-family: courier new,monospace;">date=ET.SubElement(idsreq,&quot;date&quot;)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
date.set(&quot;month&quot;,month)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; date.set(&quot;day&quot;,day)</span><br clear="all"><br><font size="4">but i get this:
</font><br><br><span style="font-family: courier new,monospace;">&lt;date day=&quot;06&quot; month=&quot;02&quot; /&gt;</span><br><br><font size="4">The attributes are not in my order!!<br>how i can get the attributes in right order???
<br>Thanks all.<br><br></font>-- <br>Sbaush