• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

create DTD

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,


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


 
Ranch Hand
Posts: 119
Oracle Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic