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?

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

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:

http://www.w3schools.com/dtd/default.asp

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)
andy@ultranerds.co.uk
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!
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0LmY0Ab


BROWSE BNU CAMPUSES
********************************
Liberal Arts
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0LmZ0Ac


Graphic & Web Design
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0Lma0Aj

Life Improvement
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0Lmb0Ak

Writing and Languages
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0Lmc0Al

Business & Office Productivity
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0Lmd0Am

Information Technology
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0Lme0An

>Browse All Courses
http://email.bn.com/cgi-bin6/flo?y=eGz60CiJTM0Cjm0Lmf0Ao


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