-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnalyticsLetter.xsl
43 lines (43 loc) · 1.17 KB
/
AnalyticsLetter.xsl
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
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="style.xsl" />
<xsl:include href="header.xsl" />
<xsl:template match="/">
<html>
<xsl:if test="notification_data/languages/string">
<xsl:attribute name="lang">
<xsl:value-of select="notification_data/languages/string" />
</xsl:attribute>
</xsl:if>
<head>
<title>
<xsl:value-of select="notification_data/general_data/letter_name" />
</title>
<xsl:call-template name="generalStyle" />
<!-- style.xsl -->
</head>
<body>
<xsl:attribute name="style">
<xsl:call-template name="bodyStyleCss" />
<!-- style.xsl -->
</xsl:attribute>
<xsl:call-template name="head" />
<!-- header.xsl -->
<div class="messageArea">
<div class="messageBody">
<table role="presentation" cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
@@letterText@@ 
<b>
<xsl:value-of select="/notification_data/report_name" />
</b>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>