| Generating JAVA classes from XSDs [message #19283] | 
Thu, 01 May 2003 14:13   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: spambort.rogers.com 
 
Hi all 
 
Is there a way that I can take an XSD and generate JAVA classes that would 
allow me to access the data within a corresponding XML document? 
 
Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
 
bort
 |  
 |  
  | 
| Re: Generating JAVA classes from XSDs [message #19327 is a reply to message #19283] | 
Thu, 01 May 2003 15:26    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: merks.ca.ibm.com 
 
--------------A27EC63B787447444C733212 
Content-Type: text/plain; charset=us-ascii 
Content-Transfer-Encoding: 7bit 
 
Bort, 
 
Yes, if you follow the tutorials in the EMF subproject 
 
       http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/clibmod/clibmod_main.html 
 
you'll find that you can do an import from XML Schema as opposed to importing 
from a Rose model.  (If all goes well, later today there should be a new 
tutorial avaiable that deals explicitly with generating from an XML Schema.) 
 
There isn't a tool to generate instance files in Eclipse.  WSAD has such a 
tool  Perhaps IBM's alphaworks has something like that as well. If you follow 
the steps above to create an EMF model, you can also create a sample editor 
and that sample editor will be able to create an instance file... 
 
bort wrote: 
 
> Hi all 
> 
> Is there a way that I can take an XSD and generate JAVA classes that would 
> allow me to access the data within a corresponding XML document? 
> 
> Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
> 
> bort 
 
--------------A27EC63B787447444C733212 
Content-Type: text/html; charset=us-ascii 
Content-Transfer-Encoding: 7bit 
 
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> 
<html> 
Bort, 
<p>Yes, if you follow the tutorials in the EMF subproject 
<blockquote> <a href=" http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/clibmod/clibmod_main.html"> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/clibmod/clibmod_main.html</a></blockquote> 
you'll find that you can do an import from XML Schema as opposed to importing 
from a Rose model.  (If all goes well, later today there should be 
a new tutorial avaiable that deals explicitly with generating from an XML 
Schema.) 
<p>There isn't a tool to generate instance files in Eclipse.  WSAD 
has such a tool  Perhaps IBM's alphaworks has something like that 
as well. If you follow the steps above to create an EMF model, you can 
also create a sample editor and that sample editor will be able to create 
an instance file... 
<p>bort wrote: 
<blockquote TYPE=CITE>Hi all 
<p>Is there a way that I can take an XSD and generate JAVA classes that 
would 
<br>allow me to access the data within a corresponding XML document? 
<p>Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
<p>bort</blockquote> 
</html> 
 
--------------A27EC63B787447444C733212--
 |  
 |  
  | 
| Re: Generating JAVA classes from XSDs [message #55464 is a reply to message #19283] | 
Sun, 28 November 2004 13:47   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
See Eclipse Modeling Framework (EMF) project. 
 
bort wrote: 
> Hi all 
>  
> Is there a way that I can take an XSD and generate JAVA classes that would 
> allow me to access the data within a corresponding XML document? 
>  
> Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
>  
> bort 
>  
>
 |  
 |  
  | 
| Re: Generating JAVA classes from XSDs [message #568748 is a reply to message #19283] | 
Thu, 01 May 2003 15:26   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
--------------A27EC63B787447444C733212 
Content-Type: text/plain; charset=us-ascii 
Content-Transfer-Encoding: 7bit 
 
Bort, 
 
Yes, if you follow the tutorials in the EMF subproject 
 
       http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/clibmod/clibmod_main.html 
 
you'll find that you can do an import from XML Schema as opposed to importing 
from a Rose model.  (If all goes well, later today there should be a new 
tutorial avaiable that deals explicitly with generating from an XML Schema.) 
 
There isn't a tool to generate instance files in Eclipse.  WSAD has such a 
tool  Perhaps IBM's alphaworks has something like that as well. If you follow 
the steps above to create an EMF model, you can also create a sample editor 
and that sample editor will be able to create an instance file... 
 
bort wrote: 
 
> Hi all 
> 
> Is there a way that I can take an XSD and generate JAVA classes that would 
> allow me to access the data within a corresponding XML document? 
> 
> Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
> 
> bort 
 
--------------A27EC63B787447444C733212 
Content-Type: text/html; charset=us-ascii 
Content-Transfer-Encoding: 7bit 
 
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> 
<html> 
Bort, 
<p>Yes, if you follow the tutorials in the EMF subproject 
<blockquote> <a href=" http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/clibmod/clibmod_main.html"> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/clibmod/clibmod_main.html</a></blockquote> 
you'll find that you can do an import from XML Schema as opposed to importing 
from a Rose model.  (If all goes well, later today there should be 
a new tutorial avaiable that deals explicitly with generating from an XML 
Schema.) 
<p>There isn't a tool to generate instance files in Eclipse.  WSAD 
has such a tool  Perhaps IBM's alphaworks has something like that 
as well. If you follow the steps above to create an EMF model, you can 
also create a sample editor and that sample editor will be able to create 
an instance file... 
<p>bort wrote: 
<blockquote TYPE=CITE>Hi all 
<p>Is there a way that I can take an XSD and generate JAVA classes that 
would 
<br>allow me to access the data within a corresponding XML document? 
<p>Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
<p>bort</blockquote> 
</html> 
 
--------------A27EC63B787447444C733212--
 |  
 |  
  | 
| Re: Generating JAVA classes from XSDs [message #592807 is a reply to message #19283] | 
Sun, 28 November 2004 13:47   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
See Eclipse Modeling Framework (EMF) project. 
 
bort wrote: 
> Hi all 
>  
> Is there a way that I can take an XSD and generate JAVA classes that would 
> allow me to access the data within a corresponding XML document? 
>  
> Also, given an XSD, can I have Eclipse generate a sample/dummy XML file? 
>  
> bort 
>  
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04442 seconds