Chapter 6: Building XML Markup
In This Chapter
Defining DTDs
Exploring what's in an XML DTD
Adding tags for fun and profit
Adding attributes to augment your documents
Making formal definitions pay
Extending and reusing code
Chapter Outline
- What's So Special About an XML DTD?
- What's in a Definition?
- Add a Tag for Fun and Profit
- Add Attributes To Augment Your Documents
- Making Formal Definitions Pay
- The <elementtype></elementtype> tag pair
- The type attribute
- The occurs attribute
- Defining your own attributes for the elements
- Open and closed content
- Grouping the elements
- Grouping order of AND
- Grouping order of OR
- Specifying a default value
- Specifying a fixed default value
- Numeric values
- Declaring data types
- Primary key
- Multipart primary keys
- Foreign key
- Multipart foreign keys
- Hierarchy
- Aliases
- Using elements from other schemas
- Show Me the Examples
- Whatever You Extend, Be Sure To Make Your Code Reusable
- Moving On
Home
| Chapter Contents
| Chapter URLs
| Chapter Examples
| Site Overview
| Extras
| Contact Info
HOME |
BOOKS |
TRAINING |
CERTIFICATION |
JAVA SHOWCASE | 
About LanWrights | 
Overview
NOTICE:
You can signup for the new lanw forums, and begin contributing to our new look website from spring 2007 onwards.
Last edited 1st March 2007.