Gossamer Forum
Home : General : Internet Technologies :

How do "use" DTD with XML?

Quote Reply
How do "use" DTD with XML?
I am soooo new to XML. I understand XML is like HTML; it contains infomation (text etc.). A praser can be used to read XML document, but how do I use the definition file? Do I use it with the praser?

Quote Reply
Re: [Robbie] How do "use" DTD with XML? In reply to

I've moved thread here as I don't think it is perl related :)

Last edited by:

Paul: Oct 1, 2002, 1:21 AM
Quote Reply
Re: [Robbie] How do "use" DTD with XML? In reply to
I'm pretty new to XML myself, but basically a DTD is a "Document Type Definition", which defines data storage and description protocols and parameters for a particular implementation of XML. In other words, it tells you how to read a given XML document, and it tells a parser how to parse it (more or less).

Here's a decent link that might be useful getting you started:


Hope that helps.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Quote Reply
Re: [Robbie] How do "use" DTD with XML? In reply to
For reading XML, I use XML::Simple.....its a nice little tool...which I use for my SearchFeed_Results plugin (for Links SQL)...may wanna have a look at that Perl Module Smile

Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Robbie] How do "use" DTD with XML? In reply to
Also check out Barnes & Noble (for BN University) they have free online classes... XML is a very popular class - I've taken it several times (just never have finished it though - Tongue).
Quote Reply
Re: [Watts] How do "use" DTD with XML? In reply to
Speaking of... just got this email today:

New Courses Start the week of October 7th -- Enroll Today!

Enrollment is limited and time is running out. So hurry in to make sure you
get your first pick of our exciting new lineup of courses!

Find the right course for you today!

Liberal Arts

Graphic & Web Design

Life Improvement

Writing and Languages

Business & Office Productivity

Information Technology

>Browse All Courses

*Barnes & Noble University is not an accredited program or institution