System.out.println("PrefPars.setLang( Lang: "+lang.getLanguage()+"   Pays: "+lang.getCountry()+ " )");
	public void setLang(Locale lang) throws Exception{		System.out.println("PrefPars.setLang( Lang: "+lang.getLanguage()+"   Pays: "+lang.getCountry()+ " )");//debug		XPath xpath = XPathFactory.newInstance().newXPath();		String expression = "//langue";		Element elem = null;				try {			elem = (Element)xpath.evaluate(expression, this.doc, XPathConstants.NODE);		}		catch (XPathExpressionException e) {			e.printStackTrace();		}		if ( elem != null ) {			elem.setAttribute(PreferenciesParser.LANG_NAME, lang.getLanguage());			elem.setAttribute(PreferenciesParser.LANG_COUNTRY, lang.getCountry());			saveDocument(preferenciesXML);		}		else {			System.out.println("Modification de la langue a "+ lang.getLanguage() + " impossible!"); 		}	}