I would like to produce from a HashMap following XML:
<a id="map_key">map_value</a>

I tried:
@XStreamImplicit(keyFieldName = "a")
@XStreamConverter(MyMapConverter.class)
HashMap<String, String> map = new HashMap<String, String>();

But this combination never enters MyMapConverter.

Is there a way to achieve this ?

Thank you.

Reply via email to