File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes what is dtd and dft? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "what is dtd and dft?" Watch "what is dtd and dft?" New topic
Author

what is dtd and dft?

Amit Angarkar
Greenhorn

Joined: Jan 12, 2001
Posts: 5
what is dtd and dft and how is it used.
where do i get free dom and sax parser
Thanks in Advance
Marcela Blei
Ranch Hand

Joined: Jun 28, 2000
Posts: 477
DTD means: Document Type Definition, you use it to validate that your XML file has the elements that you define in your DTD. Is like a dictionary. Supose that you make a java program that parses XML files, and you need the value of specific elements, but you don�t write the xml file, that�s the job of other people in your company, so giving them a DTD you ensure that the syntaxis of the xml they gave to you for parsing them with your java program doesn�t have mistakes. For more info go here
where do i get free dom and sax parser

DOM
SAX
Here you will find articles and links for downloading parsers.
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
XML is the data and DTD is the meta-data. DTD is a blueprint of an XML document and the document is sometimes called 'an instance' of the DTD.
I should point out here, that DTD is a cryptic and an old standard which is becoming unpopular because of its limitations. It is going to get replaced by another metadata schema called 'XML Schema'.
I have no clue though, about 'dtf'. Anyone?

------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java2 Platform.

Every child comes with the message that God is not yet tired of the man.
-Rabindranath Tagore, Indian Poet.


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
jQuery in Action, 2nd edition
 
subject: what is dtd and dft?