I would like to save un xml with a specific namespace. I tried the following:
Map mappingNameSpaces = new HashMap();
mappingNameSpaces.put("trn", http://my_uri);
XmlOptions xmlOptions = new XmlOptions();
xmlOptions.setSaveOuter();
xmlOptions.setSaveSuggestedPrefixes(mappingNameSpaces);
ClassXmlBean.xmlText(xmlOptions));
I got my xml with no prefixe "trn". Does anyone know how to do this?
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail