Hi,
Yah,I have made the location tag optional.
But I dont know what do you mean by "remove the
content of the attribute of your object"?
How do I do that?
This is my code snippet of Unmarshalling and
marshalling.
IBindingFactory bfact
=BindingDirectory.getFactory(Customer.class);
IUnmarshallingContext uctx =
bfact.createUnmarshallingContext();
Object obj = uctx.unmarshalDocument(new
FileInputStream("customer.xml"), null);
IMarshallingContext mctx =
bfact.createMarshallingContext();
mctx.setIndent(10);
mctx.marshalDocument(obj, "UTF-8", null,
new FileOutputStream("Output.xml"));
Anshuk
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users