How to traverse into CDATA in XML using Java
<p>I have an XML file like this</p>

<pre><code> &lt;params&gt;
            &lt;param index="0"&gt;
              &lt;value&gt;
                &lt;![CDATA[value1]]&gt;
              &lt;/value&gt;
            &lt;/param&gt;
            &lt;param index="1"&gt;
              &lt;value&gt;
                &lt;![CDATA[value2]]&gt;
              &lt;/value&gt;
            &lt;/param&gt;
            &lt;param index="2"&gt;
              &lt;value&gt;
                &lt;![CDATA[value3]]&gt;
              &lt;/value&gt;
            &lt;/param&gt;
            &lt;param index="3"&gt;
              &lt;value&gt;
                &lt;![CDATA[value4]]&gt;
              &lt;/value&gt;
            &lt;/param&gt;
          &lt;/params&gt;
</code></pre>

<p>I want to get Value1 only. Can anyone please help in finding the solution for this </p>
