What is dtd? What is the difference between external and internal dtd? Use suitable example
Answers
Answered by
0
a document that defines the tagging structure of an SGML or XML document.
Internal DTD You can write rules inside XML document using <!DOCTYPE ... >declaration. Scope of this DTD within this document. Advantages is document validated by itself without external reference.
External DTD You can write rules in a separate file (with .dtd extension). later this file linked to a XML document. This way you can linked several XML documents refer same DTD rules.
Internal DTD You can write rules inside XML document using <!DOCTYPE ... >declaration. Scope of this DTD within this document. Advantages is document validated by itself without external reference.
External DTD You can write rules in a separate file (with .dtd extension). later this file linked to a XML document. This way you can linked several XML documents refer same DTD rules.
Similar questions