document = domHandler.getDocument();
}
if (document != null) {
document.getDocumentElement().normalize();
rootElement = document.getDocumentElement();
TreeModel tm = new DOMTreeModel(rootElement);
xmlTree.setModel(tm);
} else {
xmlTree.setModel(new DefaultTreeModel(new DefaultMutableTreeNode("Invalid content")));
}
} catch (Exception e) {