Bonjour,
j'ai le bout de code suivant:
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml"/>
<xsl:template match="/">
<xsl:for-each select="//produit">
<xsl:if test="@numero <=3">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
je voudrais rediriger la sortie vers un fichier xml, comment y proceder?