[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

DTD Vs Schema

Subject: DTD Vs Schema
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Fri, 1 Aug 2008 13:55:51 +0530
 DTD Vs Schema
Hello all,

Just for the sake of more knowledge, though I know little bit about it
myself, but curious to have some experts comments. 

1. What is the main difference between a DTD and Schema?
2. How do they differently define a structure/data type of an XML elements
or attributes?
3. Though I work on DTDs a lot but I like the Schema Syntaxes like:

			<xs:sequence>
				<xs:element name="ABC" minOccurs="0"
maxOccurs="unbounded">
					<xs:complexType>
						<xs:simpleContent> 


4. Personally I don't see any limitations in DTD,then why it was required to
introduce Schema in scenario?
5. How should one can decide it should go for Schema and not DTD or
vice-versa depending upon the data, which needs to be structured?

I may be asking very childish questions, may be because these days I am
working on different projects which follows Schemas (one of them is to
transform different XMLs, following different DTD into XML following a
Schema), but belive me I basically do not found any major difference.

I have lots of questions coming into my mind right now ......... For which I
know answers partially but would prefer listen experts. If somebody feels to
answer them, that will be appreciated otherwise please do not get bothered.


Best,

Pankaj Chaturvedi

============================================================================
================


Confidentiality Notice:" This message and any attachment(s)
contained here are information that is confidential, proprietary to
IDS Infotech Ltd. and its customers.
Contents may be privileged or otherwise protected by law. The
information is solely intended for the individual or the entity it
is addressed to. If you are not the intended recipient of this
message, you are not authorized to read, forward, print, retain,
copy or disseminate this message or any part of it. If you have
received this e-mail in error, please notify the sender immediately
by return e-mail and delete it from your computer."

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.