code: function(node, uri, name) {
          var attributeValue = "";
          if(node.getAttributeNS) {
              attributeValue = node.getAttributeNS(uri, name) || "";
          } else {
              var attributeNode = this.getAttributeNodeNS(node, uri, name);
              if(attributeNode) {
                  attributeValue = attributeNode.nodeValue;
              }
          }
          return attributeValue;
      }
docs: APIMethod: getAttributeNS
  Get an attribute value given the namespace URI and local name.
  
  Parameters:
  node - {Element} Node on which to search for an attribute.
  uri - {String} Namespace URI.
  name - {String} Local name of the attribute (without the prefix).
  
  Returns:
  {String} An attribute value or and empty string if none found.