NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
Example:
<xsl:template match="personlist"> <xsl:apply-templates select="person"> <xsl:sort select="name/family"/> <xsl:sort select="name/given"/> </xsl:apply-templates> </xsl:template> |
This template rule processes a list of persons, sorted with family name as primary key and given name as secondary key.
COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |