private SplitContainer xmlBuildSplitContainer(Node node,
			DockableState.Location dockableLocation) throws SAXException {
		Element elt = (Element) node;
		int orientation = Integer.parseInt(elt.getAttribute("orientation"));
		String loc = elt.getAttribute("location");
		double location = 0.5;
		if (loc != null && !loc.equals("")) {
			location = Double.parseDouble(loc);
		}

		SplitContainer split = new SplitContainer(orientation);
		split.setDividerLocation(location);

		boolean left = true;
		for (int i = 0; i < node.getChildNodes().getLength(); i++) {
			Node child = node.getChildNodes().item(i);
			if (child.getNodeType() == Node.ELEMENT_NODE) {
				Component comp = xmlCreateComponent((Element) child,
						dockableLocation);
				if (left) {
					split.setLeftComponent(comp);
					left = false;
				} else {
					split.setRightComponent(comp);
				}
			}
		}
		return split;
	}