public String getPath(XmlNode nodefrom, XmlNode nodeto)
	{
		String path = "";
		
		String path1, path2;
		
		path1 = nodefrom.path;
		path2 = nodeto.path;
		
		if (path1.equals(path2))
			return null;
		
		String [] strarray1 = path1.split(":");
		String [] strarray2 = path2.split(":");
		
		int i;
		
		for (i = 0; i < strarray1.length && i < strarray2.length; i++)
		{
			if (!strarray1[i].equals(strarray2[i]))
				break;
		}
		
		int back = strarray1.length - i - 1;
		while(back != 0)
		{
			path += "..:";
			back--;
		}
		
		for (;i < strarray2.length; i++)
		{
			path += strarray2[i] + ":";
		}
	
		return path.substring(0, path.length() - 1);
	}