Try reading the section with this title:
 
Creating New XML Instances from Schema
 
I believe you could use the createPO() method shown there like this:
 
PurchaseOrderDocument poDoc = createPO();
XmlOptions saveoptions = new XmlOptions();
saveoptions.setSavePrettyPrint();
poDoc.save(System.out, saveoptions);
 
This would display the generated XML text on System.out
 
 
----- Original Message -----
From: "Armin Buttinger" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 25, 2005 12:24 PM
Subject: Problems

> Hi,
>
> in the "getting started" I see (if I have understood them correctly) methods
> how to read datas from XML-File and make ist to an XmlObject ...
> Is ist also possible, to transform a java-Object to a XmlObject and save
> this into a new created XML-File?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to