[xhtml]

Predicates & Conditionals in XPath & XSLT

R. Alexander Milowski

School of Information Management and Systems

milowski at sims.berkeley.edu

#1

Overview

#2

Predicates Semantics

#3

Predicates - Operators

#4

Multiple Predicates

#5

Predicates and Steps

#6

Predicates - Positions

#7

Result Tree Fragments

#8

Variables

#9

Variables - Syntax

#10

Variables - Saving the Context

#11

Variables - Result Tree Fragments vs. Node Sets

#12

Variables - Top Level Variables

#13

Parameters

#14

Parameters to Stylesheets

#15

Parameters to Templates

#16

Passing Parameters

#17

Iterating with for-each

#18

Setting the Context with for-each

#19

Sorting

#20

Simple Sort Example

#21

Multiple Sorts

#22

Controlling Sorting

#23

xsl:if

#24

xsl:choose

#25

xsl:choose - semantics

#26

xsl:choose - example

#27

Conditionals vs. Templates