public void loadXmlToTree() {
		Document xml = getDocument();

		System.out.println("Begin load xml = " + xml);
		GeneralUtils.clearTree(vermilionCascadeNotebook.getTree());

		if (xml != null) {
			Element root = xml.getDocumentElement();
			handleDocumentOptions(root);

			NodeList children = root.getChildNodes();

			for (int i = 0; i < children.getLength(); i++) {
				Node child = children.item(i);

				if (child instanceof Element) {
					Element childElement = (Element) child;
					String nodeName = childElement.getNodeName();

					if (nodeName.equals(VCNConstants.NODE)) {
						// recursion
						String nodeNameAttr = childElement.getAttribute(VCNConstants.NAME);
						boolean isExpanded = new Boolean(childElement.getAttribute(VCNConstants.EXPANDED));

						VCNTreeItem item = new VCNTreeItem(vermilionCascadeNotebook.getTree(), 0);
						item.setText(nodeNameAttr);

						fillNode(childElement, item);

						item.setExpanded(isExpanded);
					}
				}
			}
		} else {
			// TODO Show Error Message;
			System.out.println("No xml data");
			System.exit(1);
		}

		vermilionCascadeNotebook.getTree().select(vermilionCascadeNotebook.getTree().getItem(0));
		vermilionCascadeNotebook.getEditor()
			.setText((String) ((VCNTreeItem)vermilionCascadeNotebook.getTree().getItem(0)).getContent());
		vermilionCascadeNotebook.getEditor()
			.setTreeItem((VCNTreeItem)vermilionCascadeNotebook.getTree().getItem(0));
		
		vermilionCascadeNotebook.setWrapEditor(vermilionCascadeNotebook.getEditor().getTreeItem().isWrap());

		vermilionCascadeNotebook.setInModified();
		
		vermilionCascadeNotebook.setTopLabel(vermilionCascadeNotebook.getEditor().getTreeItem().getPath());

		System.out.println("Load finished");
	}