Hai.... I have a xml file and I want to parse specific element using XPATH. Could anyone give an sample java code that could parse an xml through XPATH. Thankyou.
By "parsing" XML, I am assuming you want to query your DOM.
JDK 1.5 comes bundled with an XPath API (pl refer to package documentation of javax.xml.xpath). It is quite easy to use, with the Javadoc itself mentioning a working example.