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
How often does rss feed update?
What is difference between xml and xsl?
What is provided by the elements that don’t recognize the namespace uri?
What is the difference between podcast and blog?
How do I make an xml file readable?
Does youtube have an rss feed?
What is targetnamespace?
Whether root element is required for XML? If so, how many root elements are required?
Where can I find my rss feed on wordpress?
Is xml is a programming language?
What is xml declaration tag?
What is the role of xsl transformer?
What is pom xml?
How was xml created?
What happens when firefox knows a web page has atom feeds?