1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method=
"html" media-type=
"text/html; charset=UTF-8"/>
6 <xsl:template match=
"/messages">
8 <style type=
"text/css">
11 background-color: #d2ddf6;
12 border: solid
2px black;
25 <h1>Messages Recus
</h1>
27 <xsl:for-each select=
"message">
28 <xsl:sort select=
"dateenc"/>
29 <xsl:variable name=
"stat" select=
"stat"/>
33 <xsl:if test=
"$stat='Read'">
36 <div class=
"telephone"><xsl:value-of select=
"telephone"/></div>
37 <div class=
"date"> <xsl:value-of select=
"date"/></div>
38 <div class=
"text"> <xsl:value-of select=
"text"/></div>
45 <h1>Messages Envoyés
</h1>
47 <xsl:for-each select=
"message">
48 <xsl:sort select=
"dateenc"/>
49 <xsl:variable name=
"stat" select=
"stat"/>
53 <xsl:if test=
"$stat='Sent'">
56 <div class=
"telephone"><xsl:value-of select=
"telephone"/></div>
57 <div class=
"date"> <xsl:value-of select=
"date"/></div>
58 <div class=
"text"> <xsl:value-of select=
"text"/></div>