Q

What is the intent of the DTD?

Many articles I read about XML define the DTD to include actual field or element descriptions, (i.e. Address = street address). Others say it simply defines the paramaters of the file. Can you explain what the intent is of the DTD?
The DTD - as far as the parser is concerned, identifies what tags can occur in what order in the XML file. Higher levels of intepretation of the information, e.g. that "<address>" denotes "street address, "are often included in <!-- comments --> in the DTD but do not form part of the machine processable information.
This was last published in August 2002

Dig Deeper on XML and XML schema

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close