-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.xsl
73 lines (61 loc) · 1.56 KB
/
stylesheet.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
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<html>
<head>
<style type="text/css">
table.tfmt {
border: 1px ;
}
td.colfmt {
border: 1px ;
background-color: white;
color: black;
text-align:right;
}
th {
background-color: #2E9AFE;
color: white;
}
</style>
</head>
<body>
<table class="tfmt">
<tr>
<th style="width:250px">Cost of tariff:</th>
<th style="width:350px">Cost minute in Net:</th>
<th style="width:250px">Cost sms:</th>
<th style="width:250px">Cost megabyte:</th>
<th style="width:250px">Species:</th>
<th style="width:250px">Package internet:</th>
<th style="width:250px">Package minute:</th>
</tr>
<xsl:for-each select="tariffs/TariffBonus">
<tr>
<td class="colfmt">
<xsl:value-of select="costTariff" />
</td>
<td class="colfmt">
<xsl:value-of select="costMinuteInNet" />
</td>
<td class="colfmt">
<xsl:value-of select="costSms" />
</td>
<td class="colfmt">
<xsl:value-of select="costMegabyte" />
</td>
<td class="colfmt">
<xsl:value-of select="species" />
</td>
<td class="colfmt">
<xsl:value-of select="packageInternet" />
</td>
<td class="colfmt">
<xsl:value-of select="packageMinute" />
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>