<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns
sl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="iso-8859-1" indent="yes"/>
<xsl:template match="/">
<html>
<body style="font-family:Arial; font-size:12pt;">
<xsl:for-each select="parent/enfant">
<div style="background-color:blue; color:white;">
<span style="font-weight:bold; color:white; padding:4px;">
<xsl:value-of select="nom"/></span>
- <xsl:value-of select="gender"/>
</div>
<div style="margin-left:20px; font-size:10px">
<span>Anniversaire le <xsl:value-of select="date"/>
</span>
<span style="font-style:Italic"> - <xsl:value-of select="texte"/>
</span>
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Partager