W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2007

RE: Java code generation from XSD and its use....

From: Paul Kiel <paul@xmlhelpline.com>
Date: Thu, 15 Nov 2007 08:38:56 -0500
To: <xmlschema-dev@w3.org>
Message-ID: <19B032DC0B4041A2BFDE1ADD9228D7BF@xmlguy>

I think what Dave is referring to is that the classes that it creates based
on an xsd contain classes with an Altova namespace.  And I understand Dave's
query to mean, "how can I get java classes from an xsd without using the
Altova namespaced classes"? 
The short answer is you can't from spy.  You need another java binding tool
to create what you want.  

Paul




-----Original Message-----
From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On
Behalf Of Swayam Vemuri -X (swvemuri - WIPRO at Cisco)
Sent: Thursday, November 15, 2007 12:06 AM
To: dave; xmlschema-dev@w3.org
Subject: RE: Java code generation from XSD and its use....


Once you generate your java classes you can copy them
To your project and compile them build them execute them.
I think Altova has nothing to do with your java classes.
The role of Altova ends once you are done with your XSD.

Just one more info, you can use tools like oAW to parse your xsd
And generate java code.

HTH

Thanks
Swayam

-----Original Message-----
From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org]
On Behalf Of dave
Sent: Thursday, November 15, 2007 6:12 AM
To: xmlschema-dev@w3.org
Subject: Fwd: Java code generation from XSD and its use....


When you create an XSD using XML spy, you can also
generate Java code from this XSD. How would one use
these  generated Java classes? To use these classes,
you would need to use Altova packages as well (which I
don't want).

Just wanted to know the typical use of these generated
Java classes. I already tried XMLSpy forum. No help.

Cheers!
dave



 
________________________________________________________________________
____________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.
http://overview.mail.yahoo.com/
Received on Thursday, 15 November 2007 13:39:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:01 GMT