problem wrinting into xml file...
i have a thread which creates nodes for the the document now the problem is tat when i try to supply document object into
DOMSource source = new DOMSource(document);
StreamResult result = new StreamResult(System.out);
this does not gives me xml code while the thread is running as i stop the application
i get only the following output.....
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
which i think means that DOMsource could not read document object while the thread is in running state!
can any one help me out to solve this problem??