code: public static String getAttribute( Element node, String key )
      {
          return getAttribute( node, key, null );
      }
docs: Return the value of an element attribute.
  
  @param node the DOM node
  @param key  the attribute key
  
  @return the attribute value or null if the attribute is undefined