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 first published in August 2002

Dig deeper on XML and XML schema

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close