code: function setAttr(dom, name, val) {
    var xlink = XLINK_REGEX.exec(name);
    if (xlink && xlink[1])
      { dom.setAttributeNS(XLINK_NS, xlink[1], val); }
    else
      { dom.setAttribute(name, val); }
  }
docs: Set any DOM attribute
  @param { Object } dom - DOM node we want to update
  @param { String } name - name of the property we want to set
  @param { String } val - value of the property we want to set