hello all

i am a beginner to java. i wish to know how to read and Write to an xml file using the Java language.
i am developing an application which needs to write data to an xml file and read back these datas when required..

could any one provide to me some sample codes

thanks and Regards
tjs