This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes create DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "create DTD" Watch "create DTD" New topic
Author

create DTD

sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32
Hi all,


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


Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

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


Regards, Atul.
I came to this world on a Learner's License
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create DTD
 
Similar Threads
XML DTD vs Schema
XML file based on DTD
Recreate XML file
Extending DTD
How can Jbuilder8 run Struts1.1