Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-31-2002, 12:50 AM   PM User | #1
CRASH_OVERRIDE
Regular Coder

 
Join Date: Aug 2002
Location: IN, USA
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
CRASH_OVERRIDE is an unknown quantity at this point
DTD or Schema?

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?
__________________
Just call me Crash...
"Crash- and BURN!"
-Cereal Killer
CRASH_OVERRIDE is offline   Reply With Quote
Old 12-31-2002, 12:52 AM   PM User | #2
CRASH_OVERRIDE
Regular Coder

 
Join Date: Aug 2002
Location: IN, USA
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
CRASH_OVERRIDE is an unknown quantity at this point
Specs for DSD:
http://www.brics.dk/DSD/dsd2.html
__________________
Just call me Crash...
"Crash- and BURN!"
-Cereal Killer
CRASH_OVERRIDE is offline   Reply With Quote
Old 12-31-2002, 02:20 AM   PM User | #3
jkd
Senior Coder

 
jkd's Avatar
 
Join Date: May 2002
Location: metro DC
Posts: 3,163
Thanks: 1
Thanked 18 Times in 18 Posts
jkd will become famous soon enough
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.
__________________
jasonkarldavis.com
jkd is offline   Reply With Quote
Old 12-31-2002, 03:54 AM   PM User | #4
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,428
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
My quarter-byte:

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.
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote
Old 12-31-2002, 04:03 AM   PM User | #5
brothercake
Senior Coder


 
Join Date: Jun 2002
Location: near Oswestry
Posts: 4,508
Thanks: 0
Thanked 0 Times in 0 Posts
brothercake is an unknown quantity at this point
I've gone as far as knowing Schema exists and buying a book ... which I haven't had time to read

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...
brothercake is offline   Reply With Quote
Old 01-01-2003, 04:44 PM   PM User | #6
CRASH_OVERRIDE
Regular Coder

 
Join Date: Aug 2002
Location: IN, USA
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
CRASH_OVERRIDE is an unknown quantity at this point
Schema sounds good. I'm gonna switch . Just because of the fact that it's written in xml, and if I wanted to do something fancy, I can . Thanks for the opinions!
__________________
Just call me Crash...
"Crash- and BURN!"
-Cereal Killer
CRASH_OVERRIDE is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:29 AM.


Advertisement
Log in to turn off these ads.