XML 101: Week 6 - DTDs

| Saturday
If you can't see this email, click here

About.com


Week 6 - DTDs
Jennifer Kyrnin
From Jennifer Kyrnin, your Guide to Web Design / HTML

Document Type Declarations are the definitions of XML documents.

Don't forget, if you miss a lesson you can have it resent to you.

Syllabus
Week 6
  • What is a DTD?
  • DTDs and Valid XML
  • Elements and Attributes in a DTD


Document Type Declarations and Definitions
What is a DTD?

When you write HTML with some editors, you'll notice that there is this strange line written across the top:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

While you may not know what it is, it still serves a purpose, and with XML that line of code is required to write a well-formed document.


DTDs and Valid XML

A DTD is the grammar of an XML page. It is an acronym that stands for Document Type Definition. It contains the elements, attributes, entities, and notations used in the XML document.


Elements and Attributes in a DTD

Elements, entities, attributes and notations are the building blocks of a DTD. Once you understand what each of these are, you can easily write your own DTD and be on your way to writing XML applications.


Class Notes
Get the Lessons

This is a self-paced class. This means that if you need more time than a week to review the lessons, that is fine. And if you finish the lessons before the next week, you can request the next lesson.



This email is written by:
Jennifer Kyrnin
Web Design / HTML Guide
Email Me | My Blog | My Forum
 
Missing a lesson? Click here.

About U. is our collection of free online courses designed to help you learn a new skill, solve a problem, get something done, or just learn more about your world. Sign up now, and we will email you lessons on a daily or weekly basis.
You are receiving this email because you subscribed to the About.com 'XML 101' email. If you wish to unsubscribe, please click here.

About respects your privacy: Our Privacy Policy

Contact Information:
249 West 17th Street
New York, NY, 10011

© 2010 About.com
 

Advertisement

0 comments:

Post a Comment