Questo è l'XML:
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
<prova>
<matricola>123</matricola>
<nome>Alfred</nome>
<cognome>Hitchoc</cognome>
</prova>
Mentre questo è l'XSL:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<head>
</head>
<body topmargin="0" leftmargin="0" alink="#489fe0" link="#489fe0" vlink="#489fe0">
<xsl:template match="prova">
<a href="">
<xsl:value-of select="matricola"/>
</a>
</xsl:template>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Mi dice che la parola chiave xsl:template non è consensentita il questa posizione...
Che faccio?

Rispondi quotando