[html]

Advanced Topics in XSLT

R. Alexander Milowski

School of Information Management and Systems

milowski at sims.berkeley.edu

#1

Modular Stylesheets

#2

xsl:include

#3

xsl:import

#4

xsl:apply-imports

#5

Importing Example

#6

Named Templates

#7

Calling Named Templates

#8

Named Template Parameters

#9

Keys

#10

Key Declarations

#11

Using Keys

#12

Key Example - Cross References

#13

Grouping via Keys

#14

Grouping Strategy

  1. Define a key for the value you want to group by.

  2. Iterate each unique value of the key.

  3. Access the key with the value from (2) to get each grouping.

#15

Finding Unique Key Values

#16

Grouping Example

#17

Keys & Processing Costs

#18

Numbering with XSLT

#19

excluding namespace prefixes

#20

Exclusion Example

#21

Namespaces Aliases

#22

Namespaces Aliases - Example

#23

messages