Hi all ,
I am trying to use stxx with jaxb. there are two method I don't quite know how to connect them :
in jaxb, I have to
saveDocument(HttpRequest, Document)
while in stxx, I have to
foo.marshal( Object, System.out );
(I think should be foo.marshal( Object, OutputStream) )
Now I want to saveDocument marshalled by foo. ) How can I change the OutputStream to Document ?
Thanks.
Perseus
I am trying to use stxx with jaxb. there are two method I don't quite know how to connect them :
in jaxb, I have to
saveDocument(HttpRequest, Document)
while in stxx, I have to
foo.marshal( Object, System.out );
(I think should be foo.marshal( Object, OutputStream) )
Now I want to saveDocument marshalled by foo. ) How can I change the OutputStream to Document ?
Thanks.
Perseus