title: use of : in subElement on python
body: <p>I hope you are doing well guys.</p>
  <p>I am creating a XML file using python, I am not an expert, but so far I think I am doing fine.
  During the creation of a subelement I ran to the next issue.</p>
  <p>I created a subelement named AP and then inside also I  created the subelement named adr, inside Adr I need to create another subelement with the name of S, the complication came when I tried to add the attribute with :, as shown I need to create the next code with the structure &quot;xsi:type&quot;, my code is as shown bellow:</p>
  <pre><code>AP= et.SubElement(root, 'AP')
  adr= et.SubElement(AP, 'Adr')
  et.SubElement(adr, 'S',type=&quot;num&quot;, **'xsi=:type=number').text = str(reles['num_exel'][0])
  et.SubElement(adr, 'S',type=&quot;str&quot;, **'xsi=:type=street').text = str(reles['str_exel'][0])
  </code></pre>
  <p>the goal is to have something similar to the next XML structure</p>
  <pre><code>&lt;Adr&gt;
  &lt;S type=&quot;num&quot; xsi:type=&quot;number&quot;&gt;10&lt;/P&gt;
  &lt;S type=&quot;str&quot; xsi:type=&quot;street&quot;&gt;linton&lt;/P&gt;
  &lt;/Adr&gt;
  </code></pre>
  <p>I hope its clear, and I will appreciate your help
  Thanks a lot</p>