title: set attribute of child node
body: <p>how would i add an attribute to the "testTwo" tag?
  Javascript noob..</p>
  
  <pre><code>        var XML = document.createElement("test");
          var Node = document.createElement("testOne");
          Node.setAttribute("id", "0");
          Node.setAttribute("random", "0"); 
          Node.appendChild( document.createElement("testTwo"));
  
          XML.appendChild(Node);
  
          console.log(XML.innerHTML);
  </code></pre>