code:     public static String getAttributeValueEmptyNull(Element e, String attributeName) {
          Attr node = e.getAttributeNode(attributeName);
          if (node == null) {
              return null;
          }
          return node.getValue();
      }
  
      /**
       * Get the trimmed text content of a node or null if there is no text
       */
  