users@jaxb.java.net

Re: How to marshal two or more content trees into a single XML document

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 17 Oct 2005 10:22:39 +0200

Hi.

> The structure of the code makes it not so easy to build a single content tree
> that looks like the latter, desired reply. Is there any way to marshal the two
> replies into a single reply as shown? Is this what is known as partial
> marshalling or fragment marshalling?

You can do this via SAX content handler/filter. You will need to strip
out start/endDocument events and root elements (SomeTag).

Bye.
/lexi