title: Adding attributes to xmlNode in Axapta 2012
body: <p>Can we add attributes to xmlNode in Axapta 2012? If so, how do I do this?</p>
  
  <p>Below is my XML. I need to add an Id attribute to the <code>&lt;Task&gt;</code> node.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Task Id="Cs-2213"&gt;
      &lt;Name&gt;Cannot delete the picking lists (lines)&lt;/Name&gt;
      &lt;Version&gt;6.2.1000.4051&lt;/Version&gt;
      &lt;Sprint&gt;17.8&lt;/Sprint&gt;
      &lt;Project&gt;Cs2213_Prd_DelPickIssue&lt;/Project&gt;
      &lt;Area&gt;Production&lt;/Area&gt;
      &lt;Status&gt;Closed&lt;/Status&gt;
      &lt;BugTrackId/&gt;
  &lt;/Task&gt;
  </code></pre>