File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes How do I create an XML schema? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How do I create an XML schema?" Watch "How do I create an XML schema?" New topic
Author

How do I create an XML schema?

Donna Reschke
Greenhorn

Joined: Jun 20, 2001
Posts: 17
I am new to XML and I want to create an XML schema. How would I go about doing this? Is there a tool that generates the schema or do I have to handwrite it? Where can I go to find information about schemas?
Thanks, Donna
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Either, depending on your tool.
Some tools aren't quite so good at creating schemas (letting you design them wonderfully, and then proceeding to generate invalid schemas). Fun huh? Borland Together lets you do it. Alot of other tools do too. Schemas are just beginning to really be taken seriously by alot. DTDs are slipping into the background.
I think zvon.org has a good tutorial/reference on schemas, if you're interested. The best way to learn it initially, is to dive in and try and create schemas using your favorite text editor, however.
Have fun.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
(Besides a good book) w3schools.com has nice references for all sorts of stuff, including XML Schemas.
By the way, could you replace that underscore in your display name with a space so that it fits our naming policy perfectly, please?
Thanks.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
john smith
Ranch Hand

Joined: Mar 04, 2004
Posts: 75
XSDs were a MS invention originally - so MSDN has a lot of useful resources.
 
 
subject: How do I create an XML schema?