how to extract data using jtidy and xpath
问题 i have to extract d company name and face value from http://money.rediff.com/companies/20-microns-ltd/15110088 i noticed that this task could be accomplished using xpath api. since this is an html page, i am using jtidy parser. this is the xpath for the face value which i have to extract. /html/body/div[4]/div[6]/div[9]/div/table/tbody/tr[4]/td[2] This is my code URL oracle = new URL("http://money.rediff.com/companies/20-microns-ltd/15110088"); URLConnection yc = oracle.openConnection();