Hi, I'm trying unsuccessfully to make a binding where one single string value/field/element of a mapping is of another namespace, than the "mother" mapping itself. The binding below seem to work on on marshalling, but not on the unmarshalling, where the sid is empty.
Here's what I'm trying to produce: <trc xmlns="http://foo"> <user>theuser</user> <bar:sid xmlns:bar="http://bar">123345</bar:sid> </trc> The sid-value is to be marshalled into a single element Example binding: <binding> . . <mapping name="sid" class="java.lang.String" ns="http://bar"> <namespace uri="http://bar" prefix="bar"/> <value style="text" /> </mapping> <mapping name="trc" class="Trc"> <namespace uri="http://foo" default="elements"/> <value field="_user" name="user"/> <structure field="_sid" usage="optional"/> </mapping> . , </binding> Grateful for any help on this. Regards Henrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users