code: function(name, attributes) {
          var el = et.Element(name);
          for (var a in attributes) {
              el.attrib[a] = attributes[a];
          }
          this.doc.getroot().append(el);
      }
docs: Add any element to the root