In my table i'm maintains one xml column in that column data in xml format,so now i got this column with query.
Now how to read xml format data.
here my code:
public Object readingSqlResultedRecord(ResultSet result)
{
try {
String xml = result.getString(1);
System.out.println("----xml----"+xml);
}catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
S.o.p printing xml data,in that data contains one property tag,that tag contains id and name and title. Now how to get title attribute.