• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create DTD

 
sihani rani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,


I am new to XML.How can i create new DTD file in XML?


 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The purpose of a DTD is to define the structure of an XML document.

First of all you will have to set some rules for the DTD, and then include that in your XML.

check out
http://www.ischool.utexas.edu/technology/tutorials/webdev/xml_dtds/06_xml.html
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Document Type Definition (DTD) is the definition of a specific type of electronic document. Specifically, it defines (1) a vocabulary of element names and attribute names, (2) guidelines concerning permitted relationships between elements, (3) specifications for required and optional items, and (4) a compliant XML-based structure in accord with the rules specified in SGML (ISO 8859:1986) and/or XML specifications. XML is a simplified version of SGML.

You can create a DTD in a simple text editor such as UltraEdit once you understand the rules.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic