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
Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as
ReplyDeleteappvn app