hello, assuming you have a class Test with two fields "name" and "password" you could do something like
---untested on---- <binding> <namespace uri="http://www.eclipse.org" default="none" prefix=""/> <mapping name="test" class="Test"> <value name="name" ns="http://www.eclipse.org" field="name"> <value name="password" ns="http://www.eclipse.org" field="name"> </mapping> </binding> ---untested off---- You may ignore the namespace if you just want to unmarshall the object (see http://jibx.sourceforge.net/details/namespace-element.html). Good luck, Guido On 10/9/07, baihaoping <[EMAIL PROTECTED]> wrote: > > > > Hello everyone, > I've got a xml document like this: > <root> > <test> > <name > xmlns="http://www.eclipse.org">hoping</name> > <passwd > xmlns="http://www.eclipse.org">19830224</passwd> > </test> > </root> > I don't known how to map this xml, could you guys give me some ideas? > Thanks very much! > 2007-10-09 ________________________________ > > baihaoping > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users