Java Training: – Show differences between DTDs and Schema?

Schema

DTD

Schema document is an XML document i.e., the structure of an XML document is specified by another XML document DTDs follow SGML syntax
supports variety of data types similar to programming language In DTD everything is treated as text
creating relationship among elements is possible This is not possible in DTD without invalidating existing documents
Grouping of elements and attributes are possible to form a single logical unit Grouping of elements and attributes is not possible in DTD
it is possible to specify an upper limit for the number of occurrences of an element It is not possible to specify an upper limit of an element in DTDs

See the following video on overview on Servlets in Java: –


Click to get Java Training

Regards,

Get more Java Training from author’s blog

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s