Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] DTD Vs Schema

From: "Pankaj Chaturvedi" <pankaj.chaturvedi@--------->
To:
Date: 8/1/2008 8:24:00 AM
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."


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent