Ciao!la soluzione è questa:
XSLT:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<xsl:template match="/">
<html>
<body>
Per ogni studente il secondo risultato presente in risultati:#160;
<xsl:for-each select="studenti/studente/risultati">
<xsl:value-of select="risultato[2]/@voto"/>#160;
</xsl:for-each>
Alunni con valore di eta' minore uguale a 22:#160;
<xsl:for-each select="studenti/studente">
<xsl:if test="eta <= 20">
<xsl:value-of select="nome"/>#160;
</xsl:if>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
P.S. < è uguale al simbolo di minore (<), perchè non è possibile scrivere il simbolo di minore nell'XSLT!
Spero esserti stato d'aiuto..CIAO!!!