public String getVariableAttribute(Element root, String varName, String attributName){
		Namespace ns = root.getNamespace();
		
		Element variables  = root.getChild("variables", ns);
		String value = null;
		
		for (int i=0; i < variables.getChildren().size(); i++){
			Element variable  = (Element)variables.getChildren().get(i);
						
			if (variable.getAttributeValue("name").equals(varName)){
				value = variable.getAttributeValue(attributName);
				value = removeNamespace(value);
			}
		}
		return value;
	}