[Simple-support] Multiple Elements with same name, different Attributes
Brought to you by:
niallg
|
From: Boris G. <bo...@gl...> - 2014-03-26 03:44:23
|
Hi All, thank you for support and great product.
I have following XML
<userInfo>
<address type="home">
<a>123 Home Way</a>
</address>
<address type="office">
<a>212 city street</a>
</address>
</userInfo>
and this Class:
public class userInfo{
String home;
String office;
}
And i have no idea how to accomplish this, as @path doesn't support attribute filtering, please help.
Also order of address is not guaranteed, it could be in any order...
Thank you.
--
Boris
|