Please help me in coding to read value from excel
<p>I want to read data from Excel for the value User ID in the below code here. </p>

<pre><code>public class parseXmlFile {

public String getXML()throws ParserConfigurationException,

             TransformerException,
             TransformerConfigurationException
             {
                DocumentBuilderFactory factory
                  = DocumentBuilderFactory.newInstance();
                DocumentBuilder builder = factory.newDocumentBuilder();
                DOMImplementation DMi = builder.getDOMImplementation();

                Document dc = DMi.createDocument(null,null,null);


                Element ts = dc.createElement("CheckAvailabilityRQ");
                dc.appendChild(ts);

                Element id = dc.createElement("UserID");
                ts.appendChild(id);
                id.appendChild(dc.createTextNode(userID));---&gt;HERE I WANT TO READ THE CORRESPNDING VALUE FROM EXCEL FOR THIS.PLEASE HELP IN CODING THIS             


    }


    public static void main(String args[])
                throws ParserConfigurationException,
                TransformerException,
                TransformerConfigurationException

    {

        //System.out.println(new parseXmlFile().getXML());
        String requestXml =new parseXmlFile().getXML();
</code></pre>
