diff options
Diffstat (limited to 'tests/REC/test-10-3.xsl')
-rw-r--r-- | tests/REC/test-10-3.xsl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/REC/test-10-3.xsl b/tests/REC/test-10-3.xsl new file mode 100644 index 00000000..35ef67f7 --- /dev/null +++ b/tests/REC/test-10-3.xsl @@ -0,0 +1,19 @@ +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:template match="employees"> + <ul> + <xsl:apply-templates select="employee"> + <xsl:sort select="name/family" lang="de"/> + <xsl:sort select="name/given" lang="de"/> + </xsl:apply-templates> + </ul> +</xsl:template> + +<xsl:template match="employee"> + <li> + <xsl:value-of select="name/given"/> + <xsl:text> </xsl:text> + <xsl:value-of select="name/family"/> + </li> +</xsl:template> +</xsl:stylesheet> |