Exemple de transformation |
![]() ![]() ![]() |
<chapter> <title>XML</title> --> <h1>XML</h1> <section> <title>XSLT</title> --> <h2>XSLT</h2> |
Règles de transformation :
<xsl:template match='chapter'> <h1><xsl:value-of select='title'/></h1> </xsl:template> |
<xsl:template match='section'> <h2><xsl:value-of select='title'/></h2> </xsl:template> |
![]() |
XML/XSLT 25/2/2003 |
65/90 |