OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] Schemas Vs DTDs



www.cse.ucsc.edu/~douglas/proximl/node4.html
<http://www.cse.ucsc.edu/~douglas/proximl/node4.html>  
http://www.xml.com/pub/a/1999/07/schemas/index.html
<http://www.xml.com/pub/a/1999/07/schemas/index.html> 
 
I'm really surprised I was not able to find a comprehensive FAQ on this, but
the above two references should be of help.

-----Original Message-----
From: Amol [mailto:amolrp@pune.tcs.co.in]
Sent: Thursday, October 05, 2000 12:43 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] Schemas Vs DTDs


HI All,
I am a newbie in XML .
I need some info abt schemas and DTDs
What should be preferred amongst Schema and DTD while using XML.
I know that there are a few added advantages abt Schemas such as
1. they have open content model which allows us to add more elements and /
or attribuites
2. u can specify datatypes for the elements or the attributes ..
3. u can have namespaces for ur schemas 
and a few more..
 
but I don't have any solid argument as to why schema or DTD is used.
Can anyone pl tell me what should be preferred  or is there any standard
practice to use only DTDs ..
coz from all the previous mails that i have received from this mailing list
..i have only seen people using DTDs.
 
Regards,
Amol