<xsl:template match=”/”>
<table border=“1”>
<tr>
<th>Name</th>
<th>Job</th>
<th>Salary</th>
</tr>
<xsl:for-each select=“company/department/employee”>
<xsl:sort select=“name” />
<tr>
<td><xsl:value-of select=“name”/></td>
<td><xsl:value-of select=“job”/></td>
<td><xsl:value-of select=“salary”/></td>
</tr>
</xsl:for-each>
</table>
</xsl:template>