XmlObject has a method save(...) on it. Any of the types you define in your
xsd should be based off of XmlObject and allow you to save.

<purchaseOrder>
<name/>
<items >
<item />
<item />
</items>
</purchaseOrder>

if your instance was something like above, you could call
PurchaseOrderDocument.getItems().save(...) (or something to that effect)
and save out pieces of your xml instance.
Have you tried just increasing the mem size for java when you run your code?
-jacobd

On Dec 5, 2007 2:17 AM, <[EMAIL PROTECTED]> wrote:

>  Is there a way of writing just a portion of the xml?
>  For example I want a piece that contains several tags, and also without
> any start/end tags.
>
> Thanks
>
>
> Daniel Or
>

Reply via email to