Google have solved it again :)

I'll post the result when done..

2012/4/13 nino martinez wael <[email protected]>

> I guess in short I want something like described here:
>
> http://lstierneyltd.com/blog/development/tips/jaxb-xmlanyelement-example/
>
>
> 2012/4/13 nino martinez wael <[email protected]>
>
>> Hi
>>
>> I am having some difficulties making xstream intrepret the xml that are
>> being delivered to me.
>>
>> In short on the java side I want to have a hashmap<string,string>
>> containing entities inside the xml tag called log, the attributes on info
>> are wildcard (the sender of the xml can write whatever he wants)
>>
>> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
>>
>> <HttpInfo>
>>
>>
>>             <NetCoolLogLevel>0</NetCoolLogLevel>
>>
>>
>>             <Log>
>>
>>
>>                          <Info id="1-LI031" status="OK"/>
>>
>>
>>                          <Info id="2-LI031" status="OK"/>
>>
>>             </Log>
>>
>>
>>             <DocLink></DocLink>
>>
>>
>>             <DocInfo></DocInfo>
>>
>> </HttpInfo>
>>
>>
>> This is what I've got:
>>
>> Initial loading:
>> http://tinypaste.com/a6819c6c
>>
>> Java (with annotations) for classes:
>> http://tinypaste.com/da379770
>>
>> Current XML(working):
>> http://tinypaste.com/ecdb3470
>>
>> Specified XML:
>> http://tinypaste.com/9aff0b98
>>
>>
>>
>>
>> --
>> Best regards / Med venlig hilsen
>> Nino Martinez
>>
>>
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>
>


-- 
Best regards / Med venlig hilsen
Nino Martinez

Reply via email to