[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: Question on using XMLBeans 1.0.3 ?
  • From: "Bill Riegel" <BRiegel@l...>
  • Date: Tue, 24 Aug 2004 08:09:14 -0500
  • Thread-index: AcQOgaLnzf2fgGCbReC3d1WaIAHiKh7WW1Kw
  • Thread-topic: Question on using XMLBeans 1.0.3 ?

I have compiled the example easypo.xsd file and am calling the java
classes that it creates. My question is, I see the main class to call is


    XmlPurchaseOrderDocumentBean newPODoc =
                   XmlPurchaseOrderDocumentBean.Factory.newInstance();
    XmlPurchaseOrderDocumentBean.PurchaseOrder newPO =
                   newPODoc.addNewPurchaseOrder();


but the documention uses:

	PurchaseOrderDocument newPODoc =
		 PurchaseOrderDocument.Factory.newInstance();
    	PurchaseOrder newPO = newPODoc.addNewPurchaseOrder();


Did I invoke the compiler incorrectly ?? 

Bill Riegel
LandMark Graphics
713-839-3388



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member