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...

wat is the differences between xsd and dtd

Answer Posted / t.narayana rao

Both DTD (Document Type Definition) and XSD (Xml Schema
Definition) intends to do the same thing: define the
structure of an XML document.

DTD was introduced in 1999 along with the XML specification.
It addresses the following:
1. Define elements, attributes and entities
2. The content model (what is between open tag and closing
tag) for each element.
3. The possible attributes for an element
4. The content data type for elements and attributes
5. Entities that can be referenced by an XML
and so on.

As XML became more and more popular, in 2001 W3C
standardized XSD to define the structure of an XML with more
features:
1. XSD is follows XML syntax
2. Introduced over 40 datatypes
3. constraints on the data (of elements/ attributes)
4. precise no.of occurences of elements
and so on.

The biggest advantage of using an XSD over DTD is that you
can specify all your validation rules in an XSD and the
parser can check the same for you before the actual
application that needs the data gets it.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about virus in RFID?

2198


Between what parties does authentication happen when the client and the server communicate over SSL via Visibroker's Gatekeeper?

2196


Explain a cluster?

969


How does SESAME relate to the CORBA Security service?

3805


Why don't signals work with the ORB reactor?

2424


If you take 10 transformers in a try sequence, in which order error will be executed in the sequence?

2634


When JAVA will be mature ?

2175


Why does ORB_init change the order of the command line arguments if we pass argv to ORB_init(argc, argv)?

1979


what is the ITIL process ?

1311


while working with local tx without start tx,commit tx,rollback tx servies can we continue the local tx.

1985


what is the difference between TAO's Real-Time Event Service and the OMG Notification Service?

2117


When a message flow is deployed into integration server it is carried to integration node so what is the internal representation of data for message flow that Integration Node can understand ?

1378


what are open source RFID middleware?

2716


how to insert or retrieve only 2000 records with having 10000 records

2098


in filepooling concept if the file doesnt go to target location then it is error directory how to solve this problem

2069