-
Notifications
You must be signed in to change notification settings - Fork 0
/
FulUserLoansCourtesyLetter.xsl
88 lines (75 loc) · 2.28 KB
/
FulUserLoansCourtesyLetter.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="header.xsl" />
<xsl:include href="senderReceiver.xsl" />
<xsl:include href="mailReason.xsl" />
<xsl:include href="footer.xsl" />
<xsl:include href="style.xsl" />
<xsl:include href="recordTitle.xsl" />
<xsl:template match="/">
<html>
<head>
<xsl:call-template name="generalStyle" />
</head>
<body>
<xsl:attribute name="style">
<xsl:call-template name="bodyStyleCss" /><!-- style.xsl -->
</xsl:attribute>
<xsl:call-template name="head" /><!-- header.xsl -->
<xsl:call-template name="senderReceiver" /> <!-- SenderReceiver.xsl -->
<br />
<xsl:call-template name="toWhomIsConcerned" /> <!-- mailReason.xsl -->
<div class="messageArea">
<div class="messageBody">
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>@@message@@
<br/><br/>
</td>
</tr>
<tr>
<td>
<b>@@loans@@</b>
</td>
</tr>
<tr>
<td>
<table cellpadding="5" class="listing">
<xsl:attribute name="style">
<xsl:call-template name="mainTableStyleCss" /> <!-- style.xsl -->
</xsl:attribute>
<tr>
<th>@@title@@</th>
<th>@@due_date@@</th>
</tr>
<xsl:for-each select="notification_data/item_loans/item_loan">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="due_date"/></td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
</table>
<br />
<br />
@@additional_info_1@@
<br />
@@additional_info_2@@
<br />
<table>
<tr><td>@@sincerely@@</td></tr>
<tr><td>@@department@@</td></tr>
</table>
</div>
</div>
<!-- footer.xsl -->
<xsl:call-template name="lastFooter" />
<xsl:call-template name="myAccount" />
<xsl:call-template name="contactUs" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>