I'm new to JiBX, and I'm not sure how to solve my problem. I didn't find any answer in the mailing list. Here's the point:
I got an XML structure like this
<object>
<type>type1</type>
<value>val</value>
</object>
<object>
<type>type2</type>
<value>value</value>
</object>
an i need to bind this to one of these classes according to the element value of type
type1 -> Foo
type2 -> Bar
Is there a straight method to do that with JiBX in the binding definition ?
is someone can show me an xml binding structure that solve this case
thanks for your help
Jonas
Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users