Hi All,
I want a xml string to be converted to file,for which i am doing in the below way,
String xmlFile=responseXMLName;
log.info("xml file :" +xmlFile);
fr = new FileWriter(new File(xmlFile));
Writer br= new BufferedWriter(fr);
log.info("respose string"+responseXMLString);
br.write(responseXMLString);
br.close();
i want to pass xml file data to this function ,how would i do this?
Document doc = builder.build(...);