can we read a xml file through the core java application?if possible provide one example also?