Even More Schema!

Documentation, Complex Type Derivation, and the PSVI

R. Alexander Milowski

milowski@sims.berkeley.edu

School of Information Management and Systems

#1

Documentation

#2

Documenting an Element

#3

Documenting a Type

#4

Documenting an Attribute

#5

Fully Document Your Schemata

#6

Documentation Example

#7

Complex Type Derivation

#8

Valid against the Super Type?

#9

Example

#10

Extension vs. Restriction vs. Simple Type Restriction

#11

Simple Type Restriction/Extension as a Complex Type

#12

Complex Content

#13

Extending a Complex Type - Elements

#14

Extending a Complex Type - Attributes

#15

The Teacher/Parents/Students Example

#16

Extension and the Instance

#17

Polymorphic Content

#18

Abstract Types

#19

Substitution Groups

#20

Example - XHTML Blocks and Inlines

#21

Abstract Elements

#22

Example - Fruit Basket

#23

schemaLocation - I Lied!

#24

Substitution vs. xsi:type

#25

Restricting Complex Types

#26

Restricting Complex Types - Example

#27

PSVI

#28

PSVI Element Annotations

#29

PSVI Attribute Annotations

#30

PSVI Example

#31

Schema Components

#32

Schema Information Component

#33

Element Declaration Component

#34

Complex Type Definition Component

#35

Components Example