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
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output
encoding="ISO-8859-15"
method="xml"
indent="yes" />
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="PARAGRAPHES">
<html>
<xsl:apply-templates select="@* | node()"/>
</html>
</xsl:template>
<xsl:template match="PARAGRAPHE">
<h2><xsl:value-of select="@titre"/></h2>
<p>
<xsl:apply-templates select="@* | node()"/>
</p>
</xsl:template>
</xsl:stylesheet> |