I can not use a .xml " file and a " .slt "
Below is the code: ListAlumni.xml
<?xml version="1.0" encoding="UTF-8"?>
<listaAlunos>
<aluno>
<nome>Bill</nome>
<sobrenome>Gates</sobrenome>
</aluno>
<aluno>
<nome>Steve</nome>
<sobrenome>Jobs</sobrenome>
</aluno>
<aluno>
<nome>Mark</nome>
<sobrenome>Zuckerberg</sobrenome>
</aluno>
<aluno>
<nome>Larry</nome>
<sobrenome>Page</sobrenome>
</aluno>
<aluno>
<nome>Orkut</nome>
<sobrenome>Buyukkokten</sobrenome>
</aluno>
</listaAlunos>
The other file is this: foreach.xslt
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>Alunos da Sala</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Nome</th>
<th>Sobrenome</th>
</tr>
<xsl:for-each select="/listaAlunos/aluno">
<tr>
<td><xsl:value-of select="nome"/></td>
<td><xsl:value-of select="sobrenome"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>