Here you can find the source of getValue(Element element)
public static String getValue(Element element)
//package com.java2s; //License from project: Open Source License import org.w3c.dom.Element; public class Main { public static String getValue(Element element) { return element.getChildNodes().item(0).getNodeValue(); }// w w w .j a v a2 s . c om }