wood burning stoves
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

How do I create an XML schema?

Donna Reschke

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.

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
(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?

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: How do I create an XML schema?
It's not a secret anymore!