InterviewSolution
Saved Bookmarks
| 1. |
What is DTD? what is its importance with xml |
|
Answer» pose 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.
<!ELEMENT to (#PCDATA)> <!ELEMENT from (#PCDATA)> <!ELEMENT heading (#PCDATA)> <!ELEMENT body (#PCDATA)>]> |
|