I am stuck with this error when trying to convert xml file using SSIS with a 'XML task' using xslt:
[Tâche XML] Erreur : « An error occurred with the following error message: "La feuille de style doit commencer par un élément 'xsl:stylesheet' ou 'xsl:transform' ou par un élément de résultat littéral qui a un attribut 'xsl:version', le préfixe 'xsl' identifiant l'espace de noms 'http://www.w3.org/1999/XSL/Transform'.".
Here is the XLS file
***<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<RLUEx>
<xsl:for-each select ="RLUEx">
<RL0101Ax><xsl:value-of select="RL0101/RL0101x/RL0101Ax"/></RL0101Ax>
</xsl:for-each>
</RLUEx>
</xsl:template>
</xsl:stylesheet>***
As you can see, it begins with xsl:stylesheet as requested in error message