In this video we will explain and give brief introduction on Java classes.
Also visit our site from more such Java / J2EE/ Core Java interview question with answers videos.
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 |