1<xsl:stylesheet version="1.0" 2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3<xsl:template match="employees"> 4 <ul> 5 <xsl:apply-templates select="employee"> 6 <xsl:sort select="name/family"/> 7 <xsl:sort select="name/given"/> 8 </xsl:apply-templates> 9 </ul> 10</xsl:template> 11 12<xsl:template match="employee"> 13 <li> 14 <xsl:value-of select="name/given"/> 15 <xsl:text> </xsl:text> 16 <xsl:value-of select="name/family"/> 17 </li> 18</xsl:template> 19</xsl:stylesheet> 20