Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why ?



Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why ?..

Answer / saxena

Document Type Definition (DTD) describes a model or set of rules for an XML document. XML Schema Definition (XSD) also describes the structure of an XML document but XSDs are much more powerful.
The disadvantage with the Document Type Definition is it doesn’t support data types beyond the basic 10 primitive types. It cannot properly define the type of data contained by the tag.
An Xml Schema provides an Object Oriented approach to defining the format of an xml document. The Xml schema support most basic programming types like integer, byte, string, float etc., We can also define complex types of our own which can be used to define a xml document.
Xml Schemas are always preferred over DTDs as a document can be more precisely defined using the XML Schemas because of its rich support for data representation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What debugging tools come with the .NET SDK?

1 Answers  


How can you achieve run time polymorphism in C#?

0 Answers   Hexaware,


What does the parameter Initial Catalog define inside Connection String?

5 Answers  


What is difference between comparable and comparator?

0 Answers  


I have to create a windows application using C# .net to Modifiy the XML file. The application have to show the node and node value. plz help me.

3 Answers   Merrill Lynch,


If you want to convert a base type to a derived type, what type of conversion do you use?

0 Answers  


List the 5 different access modifiers in c#?

0 Answers  


Which is the best institute in hyderabad to learn Sharepoint Portal?

68 Answers   IBM,


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

0 Answers  


What is Dispose method in .NET ?

9 Answers   247Customer, KAP, TCS,


What is c# console application?

0 Answers  


If you define a user defined data type by using the struct keyword, is it a value type or reference type?

0 Answers  


Categories