Damon Goodyear :
> I believe if you set JAXB_FRAGMENT to Boolean.TRUE then you can marshall
> only the object.
I have tried:
marshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);
just before invoking
marshaller.marshal( myObject, outputStream );
But it doesn't help - I get the same exception. Maybe I do sth wrong?
-tt.