Write the DTD for the following XML document:
Answers
Answered by
2
Answer:
The purpose of a DTD is to define the legal building blocks of an XML document.
It defines the document structure with a list of legal elements.
A DTD can be declared inline in your XML document, or as an external reference.
Answered by
14
Hiiii dude........
Create DTD for XML document
We can use a <! DOCTYPE> element to create a DTD, and the DTD appears in that element. The element can take many different forms, including the following (where URI is the URI of a DTD outside the current XML document and rootname is the name of the root element) : <!
Similar questions