public String getAddress(Node node) {
		
		if (node == null || !(node.getNodeType() == Node.ELEMENT_NODE)) return null;
		
		Node temp = node;
		StringBuilder addressBuilder = new StringBuilder(node.getNodeName());
		
		while (temp.getParentNode().getParentNode() != null) {
			temp = temp.getParentNode();
			addressBuilder.insert(0, "/");
			addressBuilder.insert(0, temp.getNodeName());
		}
		addressBuilder.insert(0, "/");
		
		return addressBuilder.toString();
	}