[xhtml]

Modeling Elements and Attributes

R. Alexander Milowski

milowski at sims.berkeley.edu

#1

Which Comes First?

#2

Kings, Queens, and Benevolent Dictators

#3

DTD's - The Benevolent Dictator

#4

King Schema

#5

The Instance is Queen

#6

Namespace Names in Documents

#7

Use a URN for Namespace Names

#8

The 'publicid' NID

#9

Schema Documents vs Schemas

#10

Top Level Elements

#11

Declaration vs Definition

#12

Global Names

#13

Simple vs Complex Types

#14

Predefined Simple Types

Figure 1. Figure

#15

Simple Element Declarations

#16

Declaring Elements with Structure

#17

Element Children

#18

Using Names in Models

#19

Children - Specifying an Element

#20

Sequences

#21

Choices

#22

Attributes

#23

Fixed or Defaulted Attributes

#24

Attributes on Simple Typed Elements

#25

Mixed Content

#26

Qualified vs Unqualified

#27

Local Element Declarations

#28

Forcing Qualified Local Elements

#29

Empty Elements?

#30

Catalogs

#31

Public Identifiers and URNs