Verifying existance of a node in xml through java
<p>this is the bottom<br>
        private static String getTagValue(String sTag, Element eElement)
        {
            NodeList nlList = eElement.getElementsByTagName(sTag).item(0).getChildNodes();</p>

<pre><code>        Node nValue = (Node) nlList.item(0);

        return nValue.getNodeValue();
    }

}
</code></pre>
