xsl-list
[Top] [All Lists]

[xsl] DTD Vs Schema

2008-08-01 01:24:15
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."

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>