Introduction to XSLT and Advanced XPath

R. Alexander Milowski

milowski@sims.berkeley.edu

School of Information Management and Systems

#1

Motivation

#2

Motivation - Producing HTML or XHTML

#3

Motivation - Extracting XML

#4

Motivation - XML to XML

#5

Motivation - non-XML Output

#6

Motivation - Extensible

#7

History of XSLT

#8

XSLT is not XSL

#9

The XSLT Model

#10

Getting Started

#11

The Top Level

#12

A Simple Example

#13

The Template Model

#14

xsl:apply-templates

#15

Template Results

The Results of applying templates to an instance.

#16

Patterns

#17

Multiple Templates

#18

Multiple Templates - Priorities

#19

Outputting Text

#20

Preserving Whitespace

#21

Literal Elements

#22

Attribute Value Templates

#23

Attribute Value Templates - Example

#24

What Happened to my Comments?

#25

Understanding Actions

#26

Creating Elements "Manually"

#27

Creating Attributes "Manually"

#28

Creating Comments & Processing Instructions

#29

Values

#30

Copying Nodes

#31

The Identity Transform

#32

xsl:copy-of

#33

Making Small Changes with xsl:copy

#34

More XPath

#35

Datatypes

#36

Functions

#37

Functions - Nodes

#38

Functions - Strings

#39

Functions in General

#40

Predicates Semantics

#41

Predicates - Operators

#42

Multiple Predicates

#43

Predicates and Steps

#44

Predicates - Positions