Here you can find the source of getAttribString(Element ele, String name)
public static String getAttribString(Element ele, String name)
//package com.java2s; import org.w3c.dom.*; public class Main { /**//from w w w . j ava2s. c o m * Parses the given attribute of this tag and returns it as a String. */ public static String getAttribString(Element ele, String name) { return ele.getAttribute(name); } }