-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddnlBondCYCreditStatmnt.xsl
287 lines (282 loc) · 13.9 KB
/
AddnlBondCYCreditStatmnt.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Ken Dulabhan (Comteq Federal Inc) -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:param name="DependencyData" select="$RtnDoc/AddnlBondCYCreditStatmnt"/>
<xsl:param name="depDocTitle">
<xsl:call-template name="PopulateDisplayName">
<xsl:with-param name="TargetNode" select="$DependencyData"/>
</xsl:call-template>
</xsl:param>
<!-- Main template -->
<xsl:template match="/">
<html>
<head>
<title>
<xsl:value-of select="$depDocTitle"/>
</title>
<!-- No Browser Caching -->
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<!-- No Proxy Caching -->
<meta http-equiv="Cache-Control" content="private"/>
<!-- Define Character Set -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="Author" content="Trin Xue"/>
<meta name="Description" content="{$depDocTitle}"/>
<xsl:call-template name="GlobalStylesForm"/>
<script language="JavaScript" src="{$ScriptPath}/FormDisplay.js" type="text/javascript"/>
<xsl:call-template name="InitJS"/>
<style type="text/css">
<xsl:if test="not($Print) or $Print=''">
<xsl:call-template name="AddOnStyle"/>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesDep"/>
</head>
<body class="styBodyClass">
<xsl:call-template name="DocumentHeaderDependency"/>
<div class="styDepTitleLine">
<span class="styDepTitle">
<span style="width:100mm;">
<xsl:value-of select="$depDocTitle"/>
</span>
</span>
</div>
<xsl:call-template name="PopulateDepCommonLeftover">
<xsl:with-param name="TargetNode" select="$DependencyData"/>
</xsl:call-template>
<!--Repeating Part l-->
<xsl:for-each select="$DependencyData/AddnlBondCYCreditStmtGrp">
<!-- BEGIN Part I Title -->
<div class="styBB" style="width:187mm;border-top-width: 1px;">
<div class="styGenericDiv" style="width:150mm;float:left;">
<div class="styPartName" style="border-top-width: 1px;">Part I</div>
<div class="styPartDesc" style="width:5mm;padding-bottom:0;border-top-width: 1px;"/>
<div style="font-size:8pt;font-weight:bold;border-top-width:1px;">Current Year Credit</div>
</div>
</div>
<!-- Part I Line 1a-->
<div class="styBB" style="width:187mm;">
<div class="styGenericDiv" style="width:187mm; float:none;clear:both; ">
<div class="styLNLeftNumBox" style="height:4.5mm;">
<span style="width:5px;"/>1a</div>
<div class="styLNDesc" style="width:69mm;height:4.5mm;">
Bond issuer's name, city or town, and state
<!--Dotted Line-->
<br/>
<xsl:if test="NameOfBondIssuer/BusinessNameLine2 != ''">
<span style="letter-spacing:3.8mm;font-weight:bold;">...............</span>
<br/>
</xsl:if>
<span style="letter-spacing:3.8mm;font-weight:bold;">...............</span>
<img src="{$ImagePath}/8912_Bullet_Md.gif" alt="MediumBullet" align="bottom"/>
</div>
<div class="styLNAmountBox" style="text-align: left;border-left-width:0px;height:8mm;padding-bottom:none;width:110mm;font-size:7pt;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="NameOfBondIssuer/BusinessNameLine1"/>
</xsl:call-template>
<xsl:if test="NameOfBondIssuer/BusinessNameLine2 != ''">
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="NameOfBondIssuer/BusinessNameLine2"/>
</xsl:call-template>
</xsl:if>
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="City"/>
</xsl:call-template>,
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="State"/>
</xsl:call-template>
</div>
</div>
<!-- Part I Line 1b-->
<div class="styGenericDiv" style="width:187mm; float:none;clear:both; ">
<div class="styLNLeftNumBox" style="height:4.5mm;">
<span style="width:11px;"/>b</div>
<div class="styLNDesc" style="width:111mm;height:4.5mm;">Bond issuer's employer identification number
<!--Dotted Line-->
<span style="letter-spacing:3.8mm;font-weight:bold;">...........</span>
<img src="{$ImagePath}/8912_Bullet_Md.gif" alt="MediumBullet" align="bottom"/>
</div>
<div class="styLNAmountBox" style="text-align: center;border-left-width:0px;height:3mm;padding-bottom:none;width:67mm;font-size:7pt;">
<xsl:call-template name="PopulateEIN">
<xsl:with-param name="TargetNode" select="BondIssuerEIN"/>
</xsl:call-template>
</div>
</div>
<!-- Part I Line 2a-->
<div class="styGenericDiv" style="width:187mm; float:none;clear:both; ">
<div class="styLNLeftNumBox" style="height:4.5mm;">
<span style="width:5px;"/>2a</div>
<div class="styLNDesc" style="width:143mm;height:4.5mm;"> Date bond issued
<!--Dotted Line-->
<span style="letter-spacing:3.8mm;font-weight:bold;">..........................</span>
<img src="{$ImagePath}/8912_Bullet_Md.gif" alt="MediumBullet" align="bottom"/>
</div>
<div class="styLNAmountBox" style="text-align: center;border-left-width:0px;height:3mm;padding-bottom:none;width:35mm;font-size:7pt;">
<xsl:call-template name="PopulateMonthDayYear">
<xsl:with-param name="TargetNode" select="DateBondIssued"/>
</xsl:call-template>
</div>
</div>
<!-- Part I Line 2b-->
<div class="styGenericDiv" style="width:187mm; float:none;clear:both; ">
<div class="styLNLeftNumBox" style="height:4.5mm;">
<span style="width:11px;"/>b</div>
<div class="styLNDesc" style="width:143mm;height:4.5mm;"> Date bond matures
<!--Dotted Line-->
<span style="letter-spacing:3.8mm;font-weight:bold;">..........................</span>
<img src="{$ImagePath}/8912_Bullet_Md.gif" alt="MediumBullet" align="bottom"/>
</div>
<div class="styLNAmountBox" style="text-align: center;border-left-width:0px;height:3mm;padding-bottom:none;width:35mm;font-size:7pt;">
<xsl:call-template name="PopulateMonthDayYear">
<xsl:with-param name="TargetNode" select="BondMaturityDt"/>
</xsl:call-template>
</div>
</div>
<!-- Part I Line 3-->
<div class="styGenericDiv" style="width:187mm; float:none;clear:both; ">
<div class="styLNLeftNumBox" style="height:4.5mm;">
<span style="width:5px;"/>3</div>
<div class="styLNDesc" style="width:143mm;height:4.5mm;">
Date bond disposed of (if applicable)
<!--Dotted Line-->
<span style="letter-spacing:2.5mm;font-weight:bold;">.............................</span>
<img src="{$ImagePath}/8912_Bullet_Md.gif" alt="MediumBullet" align="bottom"/>
</div>
<div class="styLNAmountBox" style="text-align: center;border-left-width:0px;height:3mm;padding-bottom:none;width:35mm;font-size:7pt;border-bottom-width: 0px;">
<xsl:call-template name="PopulateMonthDayYear">
<xsl:with-param name="TargetNode" select="DateBondDisposedOf"/>
</xsl:call-template>
</div>
</div>
<!--Repeating table PrincipalBondAndCreditsGrp-->
<xsl:call-template name="AddtnlBondCYCreditStmtGrpTemp"/>
<!-- Part I Line 5-->
<div class="styGenericDiv" style="width:187mm; ">
<div class="styLNLeftNumBox" style="height:6mm;padding-top:3mm;">
<span style="width:5px;"/>5</div>
<div class="styLNDesc" style="width:139.60mm;height:6mm;float:left;padding-top:3mm;">
<b>Sum of Credits.</b> Add the amounts on line 4, column (f).
<span style="letter-spacing:3.5mm;font-weight:bold;">................</span>
</div>
<div class="styLNRightNumBox" style="width:7mm;height:6mm;padding-top:3mm;">
5</div>
<div class="styLNAmountBox" style="height:6mm;width:32mm;font-size:7pt;padding-top:3mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="CreditSumAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Part I Line 6-->
<div class="styGenericDiv" style="width:187mm; ">
<div class="styLNLeftNumBox" style="height:6mm;padding-top:3mm;">
<span style="width:5px;"/>6</div>
<div class="styLNDesc" style="width:139.60mm;height:6mm;float:left;padding-top:3mm;">
For a <b>new</b> clean renewable energy bond or a qualified energy conservation bond, multiply the amount on line 5 by 70% (.70). For a clean renewable energy bond, Gulf tax credit bond, Midwestern tax credit bond, qualified forestry conservation bond, or qualified zone academy bond, enter the amount from line 5.
<span style="letter-spacing:3.5mm;font-weight:bold;">..</span>
</div>
<div class="styLNRightNumBox" style="width:7mm;height:13mm;padding-top:9mm;border-bottom-width: 0px; ">
6</div>
<div class="styLNAmountBox" style="height:13mm;width:32mm;font-size:7pt;padding-top:9mm;border-bottom-width: 0px; ">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="CrComputationOrCrSumAmt"/>
</xsl:call-template>
</div>
</div>
<div class="styBB" style="width:187mm;border-top-width:1px;height:1mm;"/>
</div>
<br class="pageend"/>
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template name="AddtnlBondCYCreditStmtGrpTemp">
<table class="styDepTbl" id="PrincipalBondAndCreditsGrp ">
<thead class="styTableThead">
<tr class="styDepTblHDR">
<th scope="col" class="styDepTblCell" style="width:48mm;font-size:7pt;text-align:center;font-weight:bold;vertical-align:top;" colspan="2">(a)<br/>CUSIP number. If CUSIP number not issued, enter principal payment dates. (Clean renewable energy bonds: Include CUSIP number and principal payment dates. Build America bonds: Include CUSIP number and interest payment dates.)</th>
<th scope="col" class="styDepTblCell" style="width:33mm;font-size:7pt;text-align:center;font-weight:bold;vertical-align:top">(b)<br/>Outstanding bond principal (or for build America bonds,<br/>interest payable)</th>
<th scope="col" class="styDepTblCell" style="width:20mm;font-size:7pt;text-align:center;font-weight:bold;vertical-align:top">(c)<br/>Credit <br/>rate</th>
<th scope="col" class="styDepTblCell" style="width:33mm;font-size:7pt;text-align:center;font-weight:bold;vertical-align:top">(d)<br/>Multiply<br/> (b) x (c)</th>
<th scope="col" class="styDepTblCell" style="width:20mm;font-size:7pt;text-align:center;font-weight:bold;vertical-align:top">(e)<br/>% </th>
<th scope="col" class="styDepTblCell" style="width:33mm;font-size:7pt;text-align:center;font-weight:bold;vertical-align:top">(f)<br/>Multiply <br/>(d) x (e)</th>
</tr>
</thead>
<tfoot/>
<tbody>
<xsl:for-each select="PrincipalBondAndCreditsGrp">
<!-- set row background -->
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="position() mod 2 = 1">styDepTblRow1</xsl:when>
<xsl:otherwise>styDepTblRow2</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td class="styDepTblCell" style="width:2mm;font-size:6pt;text-align:center;border-right-width:0px;font-weight:bold;vertical-align:top;">
<xsl:choose>
<xsl:when test="position() = 1">
<xsl:value-of select="4"/>
</xsl:when>
<xsl:otherwise>
<span style="width:1px;"/>
</xsl:otherwise>
</xsl:choose>
</td>
<!-- Principal Payments -->
<td class="styDepTblCell" style="width:46mm;text-align:left;border-left-width:0px;font-size:7pt">
<xsl:if test="$DependencyData/AddnlBondCYCreditStmtGrp/PrincipalBondAndCreditsGrp/CUSIPNumber">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="CUSIPNumber"/>
</xsl:call-template>,
<span style="width:1px;"/>
</xsl:if>
<xsl:call-template name="PopulateMonthDayYear">
<xsl:with-param name="TargetNode" select="PrinPaymentDates"/>
</xsl:call-template>
</td>
<!-- OutStanding Bond Payments -->
<td class="styDepTblCell" style="width:33mm;text-align:right;font-size:7pt">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="OutstndingBondPrin"/>
</xsl:call-template>
</td>
<!-- Credit Rate -->
<td class="stydepTblCell" style="width:20mm;text-align:right;font-size:7pt">
<xsl:call-template name="PopulatePercent">
<xsl:with-param name="TargetNode" select="CreditRate"/>
</xsl:call-template>
</td>
<!-- Outstanding Bond Principle -->
<td class="styDepTblCell" style="width:33mm;text-align:right;font-size:7pt">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="OutstndgBondPrinCrdtRteAmt"/>
</xsl:call-template>
</td>
<!-- Percent -->
<td class="stydepTblCell" style="width:20mm;text-align:right;font-size:7pt">
<xsl:call-template name="PopulatePercent">
<xsl:with-param name="TargetNode" select="Percent"/>
</xsl:call-template>
</td>
<!-- Credit Amount -->
<td class="stydepTblCell" style="width:33mm;text-align:right;font-size:7pt">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="CreditAmt"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</xsl:template>
</xsl:stylesheet>