Hi
I'm stuck trying to use JIBX to produce XML where all the bean values
are mapped to attributes in the XML doc. For example, given a bean
like:
public class Address {
public String address1;
public String address2;
public String zipCode;
public String city;
public String country;
}
I need to produce a document something like (say field address2 is optional):
<Address>
<Param id="address1" value="10 Santa Rosa Ave" />
<Param id="zipCode" value="93202" />
<Param id="city" value="Lima" />
<Param id="country" value="Peru" />
</Address>
Any ideas if this is possible or how to go about it with JIBX ?
Erik
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users