I need to map an existing XML structure that contains optional empty elements, e.g. <ISBLACK/>

I would like to map this to a Java boolean. E.g.
class MyClass {
private boolean black;
}

If the xml contains the empty element <ISBLACK/>, then the java instance variable should be set to true, otherwise to false.

How would the binding look like?

Mark.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to