code: public String getData(String key) {
          QName qn = new QName("data-" + key);
          return this.getOtherAttributes().get(qn);
      }
docs: <p>
  return the value of data-* attribute. If not set, return null.
  </p>
  
  @param key
  data-"key"
  @return null if not found attribute