> ..is it possible to build the part of the tree for the 'A' branch,
> marshal that, and then repeat the process with the next toplevel branch
> (B), such my max memory requirements are (roughly) equal to the size of
> the largest branch/chunk?
Sure. You should be able to do that, in general.
The key is that A and B has to implement javax.xml.bind.Element (or
otherwise you cannot marshal them). If they are decleared as elements,
this should be easy to do.
If not, then you could either use the "element wrapper" class (search
archive for more about this) or wait for the next release of the RI
which makes it easier.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net