ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: Simple java.util.Map unmarshalling
Date Mon, 28 Apr 2008 11:34:47 GMT
Um...
What part of the question has to do with ibatis?

if you are looking for a simple way to convert xml to java objects then take
a look at xstream.

Nathan

On Mon, Apr 28, 2008 at 4:16 AM, Wolf-Dieter Mische <Mische@gmx.at> wrote:

> Hi,
>
> I want to unmarshall a java.util.Map therefore I tried to simplify this
> example http://jibx.sourceforge.net/tutorial/binding-custom.html
>
> But it doesn't work. In my case I have following xml data:
>
> <map size="4">
>  <entry key="38193">
>    <value>a</value>
>  </entry>
>  <entry key="39122">
>    <value>a</value>
>  </entry>
>  <entry key="83132">
>    <value>a</value>
>  </entry>
>  <entry key="12958">
>    <value>a</value>
>  </entry>
> </map>
>
> But I don't know how the binding.xml have to look. Can anybody help me?
>
>
> greetz
> Wolle
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>

Mime
View raw message