-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS8874.xsl
576 lines (573 loc) · 29.4 KB
/
IRS8874.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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="IRS8874Style.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:param name="Form8874Data" select="$RtnDoc/IRS8874"/>
<xsl:template match="/">
<html lang="EN-US">
<head>
<title>
<xsl:call-template name="FormTitle">
<xsl:with-param name="RootElement" select="local-name($Form8874Data)"/>
</xsl:call-template>
</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="Description" content="IRS Form 8874"/>
<META name="GENERATOR" content="IBM WebSphere Studio"/>
<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="IRS8874Style"/>
<xsl:call-template name="AddOnStyle"/>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesForm"/>
</head>
<body class="styBodyClass">
<form name="Form8874">
<xsl:call-template name="DocumentHeader"/>
<!-- Begin Form Number and Name -->
<div class="styBB" style="width:187mm;">
<div class="styFNBox" style="width:31mm;height:21mm;">
Form <span class="styFormNumber">8874</span>
<br/>
<span style="font-size:6pt">(Rev. December 2012)</span>
<div class="styAgency" style="padding-top:1.5mm">Department of the Treasury</div>
<span class="styAgency">Internal Revenue Service</span>
</div>
<div class="styFTBox" style="width:123mm;height:21mm;">
<div class="styMainTitle" style="height:8mm;">
New Markets Credit
</div>
<br/>
<div class="styFST" style="height:3mm;font-size:7pt;">
<img src="{$ImagePath}/8874_Bullet.gif" height="7mm" alt="Bullet Image"/>
Attach to your tax return.
</div>
<div class="styFST" style="padding-top: 3mm; height:5mm;font-size:7pt;">
<img src="{$ImagePath}/8874_Bullet.gif" height="7mm" alt="Bullet Image"/>
Information about Form 8874 and its instructions is at <a href="http://www.irs.gov/form8874" title="Link to IRS.gov">
<i>www.irs.gov/form8874.</i>
</a>
</div>
</div>
<div class="styTYBox" style="width:32mm;height:21mm;">
<div class="styOMB" style="height:2mm;">
OMB No. 1545-1804
</div>
<div style="text-align: left; padding-top: 10mm; padding-left: 4mm">Attachment<br/> Sequence No.<span class="styBoldText">
<span style="width:4px;"/>127</span>
</div>
</div>
</div>
<!-- End Form Number and Name section -->
<!-- Begin Names and Identifying number section -->
<div class="styBB" style="width:187mm;">
<div class="styNameBox" style="width:147mm;height:8mm;font-weight:normal;font-size:7pt;">
Name(s) shown on return<br/>
<span style="font-size:6pt;font-family:verdana;">
<xsl:choose>
<xsl:when test="$RtnHdrData/ReturnType='1040'">
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">Name</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine1</xsl:with-param>
</xsl:call-template>
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine2</xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<!-- <xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine1</xsl:with-param>
</xsl:call-template>
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine2</xsl:with-param>
</xsl:call-template> -->
</span>
</div>
<div class="styEINBox" style="width:33mm;height:4mm;padding-left:2mm;font-size:7pt;">
Identifying number<br/>
<br/>
<span style="font-weight:normal">
<xsl:choose>
<xsl:when test="$RtnHdrData/ReturnType='1040'">
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">PrimarySSN</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">EIN</xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<!-- <xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">EIN</xsl:with-param>
</xsl:call-template> -->
</span>
</div>
<div class="styGenericDiv" style="width:6mm;height:4mm;padding-left:2mm;padding-top:6mm;font-size:7pt;float:right;">
<xsl:call-template name="SetDynamicTableToggleButton">
<xsl:with-param name="TargetNode" select="$Form8874Data/CurrentYearCreditInfo"/>
<xsl:with-param name="containerHeight" select="3"/>
<xsl:with-param name="headerHeight" select="2"/>
<xsl:with-param name="containerID" select=" 'TPctn' "/>
</xsl:call-template>
</div>
</div>
<!-- End Names and Identifying number section -->
<!-- BEGIN Part I Title -->
<!-- <div class="styBB" style="width:187mm;float: none; clear: none"> -->
<!-- Table expand/collapse toggle button -->
<!-- <span style="width:122mm;"></span>
<span style="width:7mm;padding-left:3.5mm;">
<xsl:call-template name="SetDynamicTableToggleButton">
<xsl:with-param name="TargetNode" select="$Form8874Data/CurrentYearCreditInfo"/>
<xsl:with-param name="containerHeight" select="3"/>
<xsl:with-param name="headerHeight" select="2"/>
<xsl:with-param name="containerID" select=" 'TPctn' "/>
</xsl:call-template>
</span>
</div> -->
<!-- END Part I Title -->
<div class="styTableContainer" id="TPctn">
<xsl:call-template name="SetInitialState"/>
<table class="styTable" cellspacing="0" summary="Table displaying entity name or names and corresponding employer identification numbers">
<thead class="styTableThead">
<tr>
<th scope="col" class="styTableCell" rowspan="3" style="width:7mm;border-right:none;font-weight:bold;">
<span style="width:1mm;"/>
</th>
<th scope="col" class="styTableCell" style="width:63mm;font-size:7pt;text-align:center;border-bottom:none;font-weight:bold;">(a)</th>
<th scope="col" class="styTableCell" style="width:25mm;font-size:7pt;text-align:center;border-bottom:none;font-weight:bold;">(b)</th>
<th scope="col" class="styTableCell" style="width:20mm;font-size:7pt;text-align:center;border-bottom:none;font-weight:bold;">(c)</th>
<th scope="col" class="styTableCell" style="width:30mm;font-size:7pt;text-align:center;border-bottom:none;font-weight:bold;">(d)</th>
<th scope="col" class="styTableCell" style="width:12mm;font-size:7pt;text-align:center;border-bottom:none;font-weight:bold;">(e)</th>
<th scope="col" class="styTableCell" style="width:30mm;font-size:7pt;text-align:center;border-bottom:none;border-right:none;font-weight:bold;">(f)</th>
</tr>
<tr>
<th scope="col" class="styTableCell" style="width:63mm;font-size:7pt;text-align:center;font-weight:normal;">Name and address of the qualified community development entity (CDE)</th>
<th scope="col" class="styTableCell" style="width:25mm;font-size:7pt;text-align:center;font-weight:normal;">Employer identification number of CDE</th>
<th scope="col" class="styTableCell" style="width:20mm;font-size:7pt;text-align:center;font-weight:normal;">Date of initial investment</th>
<th scope="col" class="styTableCell" style="width:30mm;font-size:7pt;text-align:center;font-weight:normal;">Amount of qualified equity investment</th>
<th scope="col" class="styTableCell" style="width:12mm;font-size:7pt;text-align:center;font-weight:normal;">Credit rate</th>
<th scope="col" class="styTableCell" style="width:30mm;font-size:7pt;text-align:center;border-right:none;font-weight:normal;">Credit ((d) x (e))</th>
</tr>
</thead>
<tfoot/>
<tbody>
<!-- Display all rows if the Print parameter is not Separated. If the Print parameter is Separated, but the number of -->
<!-- elements is less than the container height, then also display all rows. -->
<xsl:if test="($Print != $Separated) or (count($Form8874Data/CurrentYearCreditInfo) <= 3) ">
<xsl:for-each select="$Form8874Data/CurrentYearCreditInfo">
<tr>
<td class="styTableCell" style="width:7mm;font-size:7pt;text-align:center;vertical-align:top;border-right:none;font-weight:bold;">
<xsl:if test="position()=1">1</xsl:if>
<span style="width:1px;"/>
</td>
<td class="styTableCell" rowspan="1" style="width:63mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="font-family:verdana;font-size:6pt">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="NameOfCDE/BusinessNameLine1"/>
</xsl:call-template>
<xsl:if test="NameOfCDE/BusinessNameLine2 !=''">
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="NameOfCDE/BusinessNameLine2"/>
</xsl:call-template>
</xsl:if>
</span>
<xsl:choose>
<xsl:when test="USAddressOfCDE">
<br/>
<xsl:call-template name="PopulateUSAddressTemplate">
<xsl:with-param name="TargetNode" select="USAddressOfCDE"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<br/>
<xsl:call-template name="PopulateForeignAddressTemplate">
<xsl:with-param name="TargetNode" select="ForeignAddressOfCDE"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="styTableCell" style="width:25mm;text-align:center;font-size:7pt;font-weight:normal;">
<xsl:choose>
<xsl:when test="IdentificationNumberOfCDE">
<xsl:call-template name="PopulateEIN">
<xsl:with-param name="TargetNode" select="IdentificationNumberOfCDE"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="MissingEINReason"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="styTableCell" style="width:20mm;text-align:center;font-size:7pt;font-weight:normal;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="DateOfInitialInvestment"/>
</xsl:call-template>
</td>
<td class="styTableCell" style="width:30mm;text-align:right;font-size:7pt;font-weight:normal;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="AmountOfQlfyEquityInvestment"/>
</xsl:call-template>
</td>
<td class="styTableCell" style="width:12mm;text-align:right;font-size:7pt;padding-left:1mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="CreditRate"/>
</xsl:call-template>%
</td>
<td class="styTableCell" style="text-align:right;width:30mm;border-right:none;font-size:7pt;font-weight:normal;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="CreditByRatio"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
<tr height="8mm">
<td class="styTableCell" style="width:7mm;font-size:7pt;text-align:center;vertical-align:top;border-right:none;font-weight:bold;height:8mm">
<span style="width:1px;"/>
</td>
<td class="styTableCell" rowspan="1" style="width:63mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:25mm;text-align:center;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:20mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:30mm;text-align:right;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:12mm;text-align:right;font-size:7pt;">%</td>
<td class="styTableCell" style="text-align:right;width:30mm;border-right:none;font-size:7pt;font-weight:normal;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8874Data/CDETotalCreditAmount"/>
</xsl:call-template>
</td>
</tr>
</xsl:if>
<!-- Display blank filler rows. If the Print parameter is Separated and the number of elements exceeds the -->
<!-- container height, then display a mesage in the first row directing the user to the additional data table -->
<xsl:if test="count($Form8874Data/CurrentYearCreditInfo) < 1 or
(($Print = $Separated) and (count($Form8874Data/CurrentYearCreditInfo)>3)) ">
<tr>
<td class="styTableCell" style="width:7mm;font-size:7pt;text-align:center;vertical-align:top;border-right:none;font-weight:bold;height:8mm">1</td>
<td class="styTableCell" rowspan="1" style="width:63mm;text-align:left;font-size:7pt;font-weight:normal;">
<xsl:call-template name="PopulateAdditionalDataTableMessage">
<xsl:with-param name="TargetNode" select="$Form8874Data/CurrentYearCreditInfo"/>
</xsl:call-template>
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:25mm;text-align:center;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:20mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:30mm;text-align:right;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:12mm;text-align:right;font-size:7pt;">%</td>
<td class="styTableCell" style="text-align:right;width:30mm;border-right:none;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
</tr>
</xsl:if>
<xsl:if test="count($Form8874Data/CurrentYearCreditInfo) < 2 or
(($Print = $Separated) and (count($Form8874Data/CurrentYearCreditInfo)>3)) ">
<tr height="8mm">
<td class="styTableCell" style="width:7mm;font-size:7pt;text-align:center;vertical-align:top;border-right:none;font-weight:bold;height:8mm">
<span style="width:1px;"/>
</td>
<td class="styTableCell" rowspan="1" style="width:63mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:25mm;text-align:center;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:20mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:30mm;text-align:right;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:12mm;text-align:right;font-size:7pt;">%</td>
<td class="styTableCell" style="text-align:right;width:30mm;border-right:none;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
</tr>
</xsl:if>
<xsl:if test="count($Form8874Data/CurrentYearCreditInfo) < 3 or
(($Print = $Separated) and (count($Form8874Data/CurrentYearCreditInfo)>3)) ">
<tr height="8mm">
<td class="styTableCell" style="width:7mm;font-size:7pt;text-align:center;vertical-align:top;border-right:none;font-weight:bold;height:8mm">
<span style="width:1px;"/>
</td>
<td class="styTableCell" rowspan="1" style="width:63mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:25mm;text-align:center;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:20mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:30mm;text-align:right;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:12mm;text-align:right;font-size:7pt;">%</td>
<td class="styTableCell" style="text-align:right;width:30mm;border-right:none;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
</tr>
</xsl:if>
</tbody>
</table>
<xsl:call-template name="SetInitialDynamicTableHeight">
<xsl:with-param name="TargetNode" select="$Form8874Data/CurrentYearCreditInfo"/>
<xsl:with-param name="containerHeight" select="3"/>
<xsl:with-param name="headerHeight" select="2"/>
<xsl:with-param name="containerID" select=" 'TPctn' "/>
</xsl:call-template>
</div>
<!-- Line 2 caption -->
<div style="width:187mm; float: none; clear: none;">
<div class="styLNLeftNumBox" style="width:5mm;height:4mm;padding-left: 2mm"/>
<div class="styLNDesc" style="width:140.75mm; height:2mm;padding-left: 2mm;padding-bottom:0mm;"/>
<div class="styLNRightNumBoxNBB" style="width:9mm;"/>
<div class="styLNAmountBoxNBB" style="width:30mm;"/>
</div>
<div style="width:187mm; float: none; clear: none;">
<div class="styLNLeftNumBox" style="width:5mm;height:4mm;padding-left: 2.5mm">2</div>
<div class="styLNDesc" style="width:140.75mm; height:2mm;padding-left: 2mm;padding-bottom:0mm;">
New markets credit from partnerships and S corporations
<!-- Form to Form links (Push Pins) -->
<!-- <xsl:call-template name="SetFormLinkInline">
<xsl:with-param name="TargetNode" select="$Form8874Data/NewMarketsCredit"/>
</xsl:call-template>
-->
<!--Dotted Line-->
<span style="letter-spacing:3.5mm;font-weight:bold">..............</span>
</div>
<div class="styLNRightNumBox" style="width:9mm;">
2
</div>
<div class="styLNAmountBox" style="width:32mm;padding-right:2mm">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8874Data/NewMarketsCredit"/>
</xsl:call-template>
</div>
</div>
<!-- Line 3 -->
<div class="styBB" style="width:187mm;">
<div class="styLNLeftNumBox" style="height:4mm;width:5mm;padding-left: 2.5mm">3</div>
<div class="styLNDesc" style="height:3mm;width:140.75mm;padding-left: 2mm">
Add lines 1 and 2. Partnerships and S corporations, report this amount on Schedule K;
all others, report this amount on Form 3800, line 1i
<!--Dotted Line-->
<span style="letter-spacing:3.5mm;font-weight:bold">.....................</span>
</div>
<div class="styLNRightNumBox" style="height:6mm;width:8.75mm;text-align:center;border-bottom:none;padding-top:0mm;">
<div class="styLNRightNumBoxNBB" style="height: 4mm; width:8.75mm;text-align:center;border-left-width:0px;background-color:lightgrey;"/>
3
</div>
<div class="styLNAmountBox" style="height:7.75mm;width:30mm;border-bottom:none;padding-top:4mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8874Data/TotalCredit"/>
</xsl:call-template>
</div>
</div>
<div style="width:187mm;">
<span class="styBoldText">For Paperwork Reduction Act Notice, see instructions. </span>
<span style="width:120px;"/>
Cat. No. 31663N
<span style="width:78px;"/>
Form <span class="styBoldText">8874</span> (Rev. 12-2012) </div>
<br class="pageEnd"/>
<!-- BEGIN Left Over Table -->
<!-- Additonal Data Title Bar and Button -->
<div class="styLeftOverTitleLine" id="LeftoverData">
<div class="styLeftOverTitle">
Additional Data
</div>
<div class="styLeftOverButtonContainer">
<input class="styLeftoverTableBtn" TabIndex="1" type="button" value="Return to Form" onclick="javascript:returnToWriteInImage();"/>
</div>
</div>
<!-- Additional Data Table -->
<table class="styLeftOverTbl">
<xsl:call-template name="PopulateCommonLeftover">
<xsl:with-param name="TargetNode" select="$Form8874Data"/>
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
</table>
<!-- END Left Over Table -->
<!-- Additional Data Table for Separated Data from Part I Line 1 -->
<xsl:if test="($Print = $Separated) and (count($Form8874Data/CurrentYearCreditInfo) > 3) ">
<span class="styRepeatingDataTitle">
Form 8874, Part I, Line 1 - Current Year Credit
</span>
<table class="styDepTbl" style="font-size:7pt">
<thead class="styTableHead">
<tr class="styDepTblHdr">
<th scope="col" class="styDepTblCell" style="width:68mm;text-align:center;border-bottom:none;">(a)</th>
<th scope="col" class="styDepTblCell" style="width:23mm;text-align:center;border-bottom:none;">(b)</th>
<th scope="col" class="styDepTblCell" style="width:20mm;text-align:center;border-bottom:none;">(c)</th>
<th scope="col" class="styDepTblCell" style="width:32mm;text-align:center;border-bottom:none;">(d)</th>
<th scope="col" class="styDepTblCell" style="width:12mm;text-align:center;border-bottom:none;">(e)</th>
<th scope="col" class="styDepTblCell" style="width:32mm;text-align:center;border-bottom:none;">(f)</th>
</tr>
<tr class="styDepTblHdr">
<th scope="col" class="styDepTblCell" style="width:68mm;text-align:center;border-top:none;">
Name and address of the qualified community development entity (CDE)
</th>
<th scope="col" class="styDepTblCell" style="width:23mm;text-align:center;border-top:none;">
Employer identification number of CDE
</th>
<th scope="col" class="styDepTblCell" style="width:20mm;text-align:center;border-top:none;">
Date of initial investment
</th>
<th scope="col" class="styDepTblCell" style="width:32mm;text-align:center;border-top:none;">
Amount of qualified equity investment
</th>
<th scope="col" class="styDepTblCell" style="width:12mm;text-align:center;border-top:none;">Credit rate</th>
<th scope="col" class="styDepTblCell" style="width:32mm;text-align:center;border-top:none;">Credit ((d) x (e)) </th>
</tr>
</thead>
<tfoot/>
<tbody>
<xsl:for-each select="$Form8874Data/CurrentYearCreditInfo">
<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:68mm;text-align:left;">
<span style="font-family:verdana;font-size:6pt;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="NameOfCDE/BusinessNameLine1"/>
</xsl:call-template>
<xsl:if test="NameOfCDE/BusinessNameLine2 !=''">
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="NameOfCDE/BusinessNameLine2"/>
</xsl:call-template>
</xsl:if>
</span>
<!-- <xsl:if test="AddressOfCDE !=''">
<br/>
<xsl:call-template name="PopulateUSAddressTemplate">
<xsl:with-param name="TargetNode" select="AddressOfCDE"/>
</xsl:call-template>
</xsl:if> -->
<xsl:choose>
<xsl:when test="USAddressOfCDE">
<br/>
<xsl:call-template name="PopulateUSAddressTemplate">
<xsl:with-param name="TargetNode" select="USAddressOfCDE"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<br/>
<xsl:call-template name="PopulateForeignAddressTemplate">
<xsl:with-param name="TargetNode" select="ForeignAddressOfCDE"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="styDepTblCell" style="width:23mm;text-align:center;">
<xsl:choose>
<xsl:when test="IdentificationNumberOfCDE">
<xsl:call-template name="PopulateEIN">
<xsl:with-param name="TargetNode" select="IdentificationNumberOfCDE"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="MissingEINReason"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<!-- <xsl:call-template name="PopulateEIN">
<xsl:with-param name="TargetNode" select="IdentificationNumberOfCDE"/>
</xsl:call-template>
-->
</td>
<td class="styDepTblCell" style="width:20mm;text-align:center;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="DateOfInitialInvestment"/>
</xsl:call-template>
</td>
<td class="styDepTblCell" style="width:32mm;text-align:right;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="AmountOfQlfyEquityInvestment"/>
</xsl:call-template>
</td>
<td class="styDepTblCell" style="width:12mm;text-align:right;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="CreditRate"/>
</xsl:call-template>%
</td>
<td class="styDepTblCell" style="text-align:right;width:32mm;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="CreditByRatio"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
<tr height="8mm">
<td class="styTableCell" style="width:7mm;font-size:7pt;text-align:center;vertical-align:top;border-right:none;font-weight:bold;height:8mm">
<span style="width:1px;"/>
</td>
<td class="styTableCell" rowspan="1" style="width:63mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:25mm;text-align:center;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:20mm;text-align:left;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:30mm;text-align:right;font-size:7pt;font-weight:normal;">
<span style="width:1px;"/>
</td>
<td class="styTableCell" style="width:12mm;text-align:right;font-size:7pt;">%</td>
<td class="styTableCell" style="text-align:right;width:30mm;border-right:none;font-size:7pt;font-weight:normal;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8874Data/CDETotalCreditAmount"/>
</xsl:call-template>
</td>
</tr>
</tbody>
</table>
</xsl:if>
<!-- End of Part I Line 1 Separated Data -->
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>