Loading
DTD VS XSD

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  DTD VS XSD


Ans)

Both Document Type Definitions (DTD's) and XML Schemas (XSD's, also known as WXS)
are industry-standard ways to define XML-based data models, and you'll find many tools
and utilities for working with both DTD and XML Schema in Stylus Studio/XML Spy. 

 

DTD XSD
  Support for primitive (built-in) data types (eg: xsd:integer, xsd:string, xsd:date, and so on), which facilitates using XML in conjunction with other typed-data, including relational data.
  The ability to define custom data types, using object-oriented data modeling principles: encapsulation, inheritance, and substitution.
Compatibility other XML technologies, for example, Web services, XQuery, XSLT and other technologies can optionally be schema-aware.

Better Performamce

you must also consider the fact that the XML Schemais an XML document.It has an XML Namespace to refer to,
and an XML DTD to define it. This is all overhead. When a parser examines the document, it may have to link this all in, interperate the DTD for the Schema, load the namespace, and validate the schema, etc., all before it can parse the actual
XML document in question. If you’re using XML as a protocol between two systems that are in heavy use, and need a quick response,
then this overhead may seriously degrade performance.

 



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

DTD VS XSD


DTD VS XSD

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free