1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| <?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output
method="xml"
version="1.0"
encoding="iso-8859-1"
omit-xml-declaration="no"
indent="yes"
/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="INSERT">
<COLONNE1>
<xsl:text disable-output-escaping="yes">
<![CDATA[
</xsl:text>
<xsl:apply-templates/>
<xsl:text disable-output-escaping="yes">
]]>
</xsl:text>
</COLONNE1>
</xsl:template>
<!--xsl:template match="//INSERT/descendant::*" priority="+1"-->
<xsl:template match="*">
<xsl:element name="{name()}" >
<xsl:apply-templates select="* | text() | @*"/>
</xsl:element>
</xsl:template>
<xsl:template match="@*">
<xsl:copy />
</xsl:template>
</xsl:stylesheet> |