I am trying to map some xml like:
<foo>
<bar>
<name1>val1</name1>
<name2>val2</name2>
<bar>
<foo>
I would like to have a single object to hold all of this, something
like:
public class Foo {
private String name1;
private String name2;
....
//of course appropriate getters and setters
}
So I basically want to remove the bar when unmarshalling and flatten the
xml hierarchy.
Of course, *IF* I had control of the input xml I could just respecify,
unfortunately I do
not have that control.
So what is the special mapping incantation to make this happen? Or do I
need to write some
customer handler to make this happen (hoping not since I have never done
this before).
later
dave z
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------