recuperation de parametre
salut
je tente de passer un fichier xml en parametre a une feuille xsl mais je ne sais pas comment le traite dans ma feuille
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <xsl:param name="article0"/>
<xsl:param name="article1"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<meta name="keywords" contents="{//keyword}" />
<meta name="autor" contents="{//firstname},{//lastname}" />
<title>
<xsl:value-of select="//title"/>
<xsl:text></xsl:text>
</title>
</head>
<body>
<xsl:value-of select="//article">
<xsl:text></xsl:text>
</xsl:value-of>
</body>
</html> |
article est la balise root du fichier passer en parametre (parametre article0)
merci