public static Element find(Element tree, String path){
		if (tree == null || path == null) {
			return null;
		}
		if (path.charAt(0) == '/') {
			path = path.substring(path.indexOf('/', 1)+1);
		}
		String[] paths = path.split("/");
		for (int i = 0; i < paths.length; i++) {
			tree = tree.getChild(paths[i]);
			if(tree == null){
				return null;
			}
		}
		
		return tree;
	}