xml file presentation

Hi,

Im using the following code to create xml file:

try {

Source source = new DOMSource(this.XMLDocument);

File file = new File(filename);

Result result = new StreamResult(file);

Transformer xformer = TransformerFactory.newInstance().newTransformer();

xformer.transform(source, result);

} catch (TransformerConfigurationException e) {

} catch (TransformerException e) {

}

My problem is after i created the file, i open it in eclipse and i see all text in Notepad as a long string.

My question: How can i view the file i created in hierarchy mode?

[627 byte] By [liir78a] at [2007-11-26 22:49:45]
# 1
I found the answer :) http://forum.java.sun.com/thread.jspa?threadID=562510&start=15
liir78a at 2007-7-10 12:10:25 > top of Java-index,Java Essentials,Java Programming...