12-31-2002, 01:50 AM
Im checking all of my xml documents against a regular DTD, but ive been finding out more about Schema.
For what I do, all that i need is something simple and not have to get too in depth with requirements, so I chose to use DTD. I then saw the rough draft for Schema 2.0 (aka DSD 2.0), and it looks like it might be nice to switch over to. Which is worth checking simple xml documents: DTD or Schema?
12-31-2002, 01:52 AM
Specs for DSD:
Define simple. DTD is nice for relatively simple markup structure, but gets all confusing with anything more than simple.
Schema is nice that it is just another XML document. It is a lot more complicated to do simple things, but once you have a start, it'll make your life a lot easier.
I'd say go with Schema if you can. There is a terrible learning curve in my opinion, but it'll pay off in the long run.
12-31-2002, 04:54 AM
I'd say start with a DTD schema, then after you've got that, start developing your XML Schema document. The DTD I typically use to define the basics of the language first. Schema gets much more complicated, as jkd pointed out, but sometimes it helps to have the basic framework figured out.
12-31-2002, 05:03 AM
I've gone as far as knowing Schema exists and buying a book ... which I haven't had time to read :o
I guess I'll echo the other comments - DTD is simple enough to get started with XML, but I'm starting to feel its limitations after only a few weeks of working with it...
01-01-2003, 05:44 PM
Schema sounds good. I'm gonna switch:thumbsup: . Just because of the fact that it's written in xml, and if I wanted to do something fancy, I can:cool: . Thanks for the opinions!