What is difference between xsd and dtd?
Answer Posted / g.h
DTD stands for "Document Type Definition". In the context of
XML, it serves as an exact specification of what may appear
in an instance document. A DTD consists of a number of
declarations that appear directly in a document or are
referenced as external resources.
XSD is the file type of W3C XML Schemas, standing for "XML
Schema Definition". Contrary to DTDs, XML Schemas are built
up as XML documents themselves, using XML to describe
itself. A schema is external to an XML document. It can be
referenced in the document for automatically retrieving the
schema for validation.
Both DTD and W3C XML Schema are XML schema languages, but
W3C XML Schema is a lot more flexible and has namespace
support, which is still lacking in the current version of
the DTD standard. Another advantage of XSD is the use of
data types.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is rss feed outlook?
How to conduct various xml transformations in java?
What are the elements of xml?
Why is web xml used?
How you will do SubString in XSL
Why namespaces are important?
Is api a web service?
Tell me can we use graphics in xml?
Explain how to remove a particular element from XML?
How do I use the default xml namespace to refer to element type names in an xml namespace?
Can you execute a xml?
What is xslt explain with example?
Define the concept of XPOINTER.
How can name conflicts be avoided in xml?
What is xpath expression?