-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS8891.xsl
569 lines (553 loc) · 29.3 KB
/
IRS8891.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
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 sp1 (http://www.altova.com) by Daniel Ashton (IRS) -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="IRS4972Style.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:param name="Form8891Data" select="$RtnDoc/IRS8891"/>
<xsl:template match="/">
<html lang="EN-US">
<head>
<title>
<xsl:call-template name="FormTitle">
<xsl:with-param name="RootElement" select="local-name($Form8891Data)"/>
</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 8891"/>
<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="IRS4972Style"/>
<xsl:call-template name="AddOnStyle"/>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesForm"/>
</head>
<body class="styBodyClass" style="width:187mm">
<form name="Form8891">
<xsl:call-template name="DocumentHeader"/>
<div class="styGenericDiv" style="width:187mm;border-bottom:1px solid;heigh:24mm">
<div class="styFNBox" style="width:31mm;height:24.5mm;padding-bottom:0mm;border-right:1px solid;">
Form <span class="styFormNumber">8891</span><br/>
<span style="padding-top:2mm;">
<span style="font-family:Arial;">(Rev. December, 2012)</span><br/>
<xsl:call-template name="SetFormLinkInline">
<xsl:with-param name="TargetNode" select="$Form8891Data"/>
</xsl:call-template>
<div class="styAgency" style="padding-top:0mm;height:0mm;padding:bottom:0mm;">
Department of the Treasury<br/>
Internal Revenue Service
</div>
</span>
</div>
<div class="styFTBox" style="width:125mm;height:17mm;">
<div class="styMainTitle" style="height:5mm;padding-bottom:0mm;">U.S. Information Return for Beneficiaries of<br/>
Certain Canadian Registered Retirement Plans</div>
<div class="styFBT" style="font-size:7.5pt;height:5mm;margin-top:2mm;">
<img src="{$ImagePath}/8891_Bullet.gif" alt="MediumBullet"/> Attach to Form 1040.<!--<span style="width:24mm;height:3mm"/>--><br/>
<span style="font-weight:normal;font-family:Arial Narrow">For calendar year
<span style="width:10mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateYear">
<xsl:with-param name="TargetNode" select="$Form8891Data/CurrentCalendarYear"/>
</xsl:call-template>
</span>,
or tax year beginning
<span style="width:18mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateMonthDayYear">
<xsl:with-param name="TargetNode" select="$Form8891Data/TaxYearBeginDate"/>
</xsl:call-template>
</span>
and ending
<span style="width:18mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateMonthDayYear">
<xsl:with-param name="TargetNode" select="$Form8891Data/TaxYearEndDate"/>
</xsl:call-template>
</span> .
</span>
</div>
<div class="styFBT" style="font-weight:bold">
<img src="{$ImagePath}/8891_Bullet.gif" alt="Bullet"/>
Information about Form 8891 and its instructions is at www.irs.gov/form8891.</div>
</div>
<div class="styTYBox" style="width:31mm; height:24.5mm;border-left:1px solid black;">
<div style="padding-top:3mm;border-bottom:1px solid black;font:7pt;height:9.5mm">
OMB No. 1545-0074
</div>
<br/>
<div class="styGenericDiv" style="font-size:6.5pt;text-align:left;padding-left:2mm;">
Attachment <span style="width:5mm"/>Sequence No.
<span style="width:0.5mm"/>
<span>
<b style="font-size:11.5pt;font-family:'Arial';">139</b>
</span>
</div>
</div>
</div>
<!-- Name shown on Form 1040 -->
<div class="styGenericDiv" style="width:187mm;border-bottom:1px solid;font-size:7.0pt;">
<div class="styFNBox" style="width:70%; height:8mm; ">
Name as shown on Form 1040<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$RtnHdrData/Filer/Name"/>
</xsl:call-template>
<br/>
</div>
<div class="styFNBox" style="width:30%; height:8mm;border-right-width:0;padding-left:1mm ">
<b> Identifying number</b> (see instructions)
<br/>
<xsl:call-template name="PopulateSSN">
<xsl:with-param name="TargetNode" select="$RtnHdrData/Filer/PrimarySSN"/>
</xsl:call-template>
</div>
</div>
<!-- Address -->
<div class="styGenericDiv" style="width:187mm;border-bottom:1px solid;font-size:7.0pt;">
<div class="styFNBox" style="width:100%; height:8mm;border-right-width:0px ">
Address<br/>
<xsl:choose>
<xsl:when test="$RtnHdrData/Filer/USAddress">
<xsl:call-template name="PopulateUSAddressTemplate">
<xsl:with-param name="TargetNode" select="$RtnHdrData/Filer/USAddress"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="$RtnHdrData/Filer/ForeignAddress">
<xsl:call-template name="PopulateForeignAddressTemplate">
<xsl:with-param name="TargetNode" select="$RtnHdrData/Filer/ForeignAddress"/>
</xsl:call-template>
</xsl:when>
</xsl:choose>
</div>
</div>
<!-- Part I - Body -->
<div class="styGenericDiv" style="width:187mm">
<!-- Line 1 -->
<div class="styGenericDiv" style="width:93.5mm;height:17mm;border-bottom: 1px solid black;border-right: 1px solid black">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:2.5mm;">1</div>
<span style="width:5mm"/>
<span style="font-size:7 pt">Name of plan custodian</span>
<div class="styGenericDiv" style="padding-left:7mm;font-size: 7pt; ">
<xsl:if test="$Form8891Data/CanadaRetirePlanCustodianName/BusinessNameLine1">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanCustodianName/BusinessNameLine1"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="$Form8891Data/CanadaRetirePlanCustodianName/BusinessNameLine2">
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanCustodianName/BusinessNameLine2"/>
</xsl:call-template>
</xsl:if>
</div>
</div>
<!-- Line 2 -->
<div class="styGenericDiv" style="width:93.5mm;height:17mm;border-bottom: 1px solid black;">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:2.5mm;">2</div>
<span style="width:5mm"/>Account number of plan
<div class="styGenericDiv" style="padding-left:7mm">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanAccountNum"/>
</xsl:call-template>
</div>
</div>
<div style="border-width:0px 0px 0px 0px;padding:0px 0px 0px 0px;width:187mm;height:auto;border-bottom:1px solid black;">
<!-- Line 3 -->
<div class="styGenericDiv" style="width:93.5mm;height:17mm;border-right: 1px solid black;">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:2.5mm;">3</div>
<span style="width:5mm"/>Address of plan custodian
<div class="styGenericDiv" style="padding-left:7mm">
<xsl:call-template name="MakeAddressLines">
</xsl:call-template>
</div>
</div>
<!-- Line 4 -->
<div class="styGenericDiv" style="width:93.5mm;height:17mm;">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:2.5mm;">4</div>
<span style="width:5mm"/> Type of plan (check one box):
<div class="styGenericDiv" style="padding-left:7mm">
<input type="checkbox" style="width:3mm;height:3mm;margin-bottom:0.4mm;">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRegdRetireSavingPlanInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRegdRetireSavingPlanInd'"/>
</xsl:call-template>
</input>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRegdRetireSavingPlanInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRegdRetireSavingPlanInd'"/>
</xsl:call-template>
Registered Retirement Savings Plan (RRSP)
</label>
<div/>
<input type="checkbox" style="width:3mm;height:3mm;margin-bottom:0.4mm;">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRegdRetireIncomeFundInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRegdRetireIncomeFundInd'"/>
</xsl:call-template>
</input>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRegdRetireIncomeFundInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRegdRetireIncomeFundInd'"/>
</xsl:call-template>
Registered Retirement Income Fund (RRIF)
</label>
</div>
</div>
</div>
</div>
<!-- Line 5 -->
<div class="styGenericDiv" style="width:187mm;">
<div class="styLNLeftNumBox" style="width:6mm;padding-left:3mm;">5</div>
<div class="styGenericDiv" style="padding-left:3mm;width:155mm;">
Check the applicable box for your status in the plan (see <i>Definitions</i> in the instructions):
</div>
<div class="styGenericDiv" style="width:187mm;padding-left:10mm;">
<input type="checkbox" style="width:3mm;height:3mm;margin-bottom:0.4mm;">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanBeneficiaryInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRetirePlanBeneficiaryInd'"/>
</xsl:call-template>
</input>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanBeneficiaryInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRetirePlanBeneficiaryInd'"/>
</xsl:call-template>
Beneficiary</label>
</div>
<div class="styGenericDiv" style="width:187mm;padding-left:10mm;">
<input type="checkbox" style="width:3mm;height:3mm;margin-bottom:0.4mm;">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanAnnuitantInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRetirePlanAnnuitantInd'"/>
</xsl:call-template>
</input>
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetirePlanAnnuitantInd"/>
<xsl:with-param name="BackupName" select="'IRS8891CanadaRetirePlanAnnuitantInd'"/>
</xsl:call-template>
Annuitant (Complete only lines 7a, 7b, and 8.)</label>
</div>
</div>
<!-- Line 6a -->
<div class="styGenericDiv" style="width:187mm;border-top:1px solid black;">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:2.5mm;">6a</div>
<div class="styGenericDiv" style="padding-left:3mm;width:152mm;">
Have you previously made an election under Article XVIII(7) of the U.S.-Canada income tax treaty to defer U.S.<br/>
income tax on the undistributed earnings of the plan?
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> .....................</span>
<span style="">
<img alt="arrow" src="{$ImagePath}/4972_Bullet_Md.gif"/>
</span>
</div>
<div style="width:28mm;text-align:left;padding-left:1mm;padding-top:3.5mm;height:4mm;float:right;">
<span style="width:auto;height:4mm;float:right;">
<!-- Checkbox -->
<input type="Checkbox" class="styCkbox">
<xsl:call-template name="PopulateYesCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralElectPreviousInd"/>
<xsl:with-param name="BackupName">IRS8891USTaxDeferralElectPreviousInd</xsl:with-param>
</xsl:call-template>
</input>
<label>
<xsl:call-template name="PopulateLabelYes">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralElectPreviousInd"/>
<xsl:with-param name="BackupName">IRS8891USTaxDeferralElectPreviousInd</xsl:with-param>
</xsl:call-template>
<span class="styBoldText" style="padding-left:1mm;">Yes</span>
</label>
<span style="padding-left:5mm;"></span>
<!-- Checkbox -->
<input type="Checkbox" class="styCkbox">
<xsl:call-template name="PopulateNoCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralElectPreviousInd"/>
<xsl:with-param name="BackupName">IRS8891USTaxDeferralElectPreviousInd</xsl:with-param>
</xsl:call-template>
</input>
<label>
<xsl:call-template name="PopulateLabelNo">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralElectPreviousInd"/>
<xsl:with-param name="BackupName">IRS8891USTaxDeferralElectPreviousInd</xsl:with-param>
</xsl:call-template>
<span class="styBoldText" style="padding-left:1mm;">No</span>
</label>
</span>
</div>
</div>
<!-- Line (6)b -->
<div class="styGenericDiv" style="width:187mm;">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:3.5mm;">b</div>
<div class="styGenericDiv" style="padding-left:3mm;width:155mm">
If “Yes,” enter the first year the election came into effect
<span style="width:24.5mm;border-bottom:1px solid;text-align:center">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralElectionFirstYr"/>
</xsl:call-template>
</span>
and go to line 7a. If “No,” go to line 6c.
</div>
</div>
<!-- Line (6)c -->
<div class="styGenericDiv" style="width:187mm;">
<div class="styLNLeftNumBox" style="width:5mm;padding-left:3.5mm;">c</div>
<div class="styGenericDiv" style="padding-left:3mm;width:156mm;">
<label>
<xsl:call-template name="PopulateLabel">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralNewElectionInd"/>
<xsl:with-param name="BackupName">IRS8891USTaxDeferralNewElectionInd</xsl:with-param>
</xsl:call-template>
If you have not previously made the election described on line 6a above, you can make an irrevocable election for this year and subsequent years by checking this box
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> ......................</span>
<span style="">
<img alt="arrow" src="{$ImagePath}/4972_Bullet_Md.gif"/>
</span>
</label>
</div>
<div style="width:26mm;text-align:left;padding-left:1mm;padding-top:3.5mm;height:7mm;float:left;padding-left:18px;">
<!-- Checkbox -->
<input type="Checkbox" class="styCkbox">
<xsl:call-template name="PopulateCheckbox">
<xsl:with-param name="TargetNode" select="$Form8891Data/USTaxDeferralNewElectionInd"/>
<xsl:with-param name="BackupName">IRS8891USTaxDeferralNewElectionInd</xsl:with-param>
</xsl:call-template>
</input>
</div>
</div>
<!-- Line 7a -->
<div class="styGenericDiv" style="width:187mm;border-top:1px solid black;padding-top:0mm;">
<div class="styLNLeftNumBox" style="width:6mm;padding-left:2.5mm;padding-top:2mm">7a</div>
<div class="styGenericDiv" style="padding-left:3mm;width:142mm;padding-top:2mm;">
Distributions received from the plan during the year. Enter here and include on Form 1040,<br/>
line 16a
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> .................................</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:9mm;width:7.755mm;padding-top:5mm;border-bottom:1px solid black;">7a</div>
<div class="styLNAmountBoxNBB" style="height:9mm;width:31mm;padding-top:5mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireCYDistributionAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line (7)b -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="width:6mm;padding-left:3.5mm;padding-top:1mm">b</div>
<div class="styGenericDiv" style="padding-left:3mm;width:142mm;padding-top:1mm">
Taxable distributions received from the plan during the year. Enter here and include on
Form 1040,<br/> line 16b
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> .................................</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">7b</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireCYTxblDistriAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line 8 -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="width:6mm;padding-left:2.5mm;padding-top:1mm">8</div>
<div class="styGenericDiv" style="padding-left:3mm;width:142mm;padding-top:1mm">
Plan balance at the end of the year. If you checked the “Annuitant” box on line 5, the “Yes” box<br/>
on line 6a, or the box on line 6c, <b>stop here. Do not </b>complete the rest of the form
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> .........</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">8</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireEOYPlanBalanceAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line 9 -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="width:6mm;padding-left:2.5mm;padding-top:4mm">9</div>
<div class="styGenericDiv" style="padding-left:3mm;width:142mm;padding-top:4mm">
Contributions to the plan during the year
<span style="letter-spacing:3mm;font-weight:bold;width:20mm">.......................</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">9</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireCYContributionAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line 10 -->
<div class="styGeneric Div" style="width:187mm;height:8mm;">
<div class="styLNLeftNumBox" style="width:6mm;padding-top:4mm">10</div>
<div class="styGenericDiv" style="width:142mm;padding-left:3mm;padding-top:4mm">
<b>Undistributed earnings of the plan during the year:</b>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;background-color:lightgrey"/>
<div class="styLNAmountBoxNBB" style="height:8mm;width:28mm;"/>
</div>
<!-- Line (10)a -->
<div class="styGenericDiv" style="height:8mm;width:187mm">
<div class="styLNLeftNumBox" style="padding-left:3.5mm;width:6mm;padding-top:4mm">a</div>
<div class="styGenericDiv" style="padding-left:3mm;width:142mm;padding-top:4mm">Interest income. Enter here and include on Form 1040, line 8a
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> ...............</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">10a</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CARetireCYUndistrIntIncAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line (10)b -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="padding-left:3.5mm;width:6mm;padding-top:4mm">b</div>
<div class="styGenericDiv" style="width:142mm;padding-top:4mm;padding-left:3mm">Total ordinary dividends. Enter here and include on Form 1040, line 9a
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> ............</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">10b</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireCYUndistrOrdDivAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line (10)c -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="padding-left:3mm;width:6mm;padding-top:4mm">c</div>
<div class="styGenericDiv" style="width:142mm;padding-top:4mm;padding-left:3mm">
Qualified dividends. Enter here and include on Form 1040, line 9b
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> ..............</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">10c</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CARetireCYUndistrQlfyDivAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line (10)d -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="padding-left:3mm;width:6mm;padding-top:4mm">d</div>
<div class="styGenericDiv" style="width:142mm;padding-top:4mm;padding-left:3mm">
Capital gains. Enter here and include on Form 1040, line 13
<span style="letter-spacing:3mm;font-weight:bold;width:20mm"> ................</span>
</div>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:1px solid black;">10d</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31mm;padding-top:4mm;border-bottom:1px solid black">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireCYUndistrCapGnAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Line (10)e -->
<div class="styGenericDiv" style="width:187mm">
<div class="styLNLeftNumBox" style="padding-left:3mm;width:6mm;padding-top:4mm">e</div>
<div class="styGenericDiv" style="width:115mm;padding-top:4mm;padding-left:3mm;float:left;">Other income. Enter here and include on Form 1040, line 21. List type and amount <img alt="arrow" src="{$ImagePath}/4972_Bullet_Md.gif"/>
</div>
<div class="styLNAmountBoxNBB" style="height:8mm;width:31.25mm;padding-top:4mm;border-bottom:0px solid black;float:right;"/>
<div class="styLNRightNumBoxNBB" style="height:8mm;width:7.755mm;padding-top:4mm;border-bottom:0px solid black;background-color:lightgrey;float:right;"/>
<div class="styGenericDiv" style="height:7mm;border-bottom:1 dashed;width:27mm;padding-left:0mm;padding-top:2mm;float:right;" />
</div>
<xsl:for-each select="$Form8891Data/CanadaRetireUndistrOthIncome">
<div style="width:187mm;height:7mm;">
<div class="styLNAmountBoxNBB" style="width:31.25mm;height:7mm;float:right;"></div>
<div class="styLNRightNumBoxNBB" style="height:7mm;width:7.755mm;background-color:lightgrey;float:right;"/>
<div class="styGenericDiv" style="height:7mm;border-bottom:1 dashed;width:139mm;padding-left:0mm;padding-top:2mm;float:right;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="UndistributedOtherIncomeType"/>
</xsl:call-template>
<span style="width:4mm;"/>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="UndistributedOtherIncomeAmt"/>
</xsl:call-template>
</div>
</div>
</xsl:for-each>
<!-- Line after (10)e -->
<div class="styGenericDiv" style="width:187mm;padding-left:7.85mm;">
<div class="styGenericDiv" style="width:140.15mm;height:7mm;"/>
<div class="styLNRightNumBoxNBB" style="height:7mm;width:7.755mm;padding-top:3mm;">10e</div>
<div class="styLNAmountBoxNBB" style="padding-top:3mm;width:31mm;height:7mm">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$Form8891Data/CanadaRetireCYUndistrOthIncAmt"/>
</xsl:call-template>
</div>
</div>
<!-- Page Footer-->
<div class="pageEnd" style="width:187mm;border-top: 2px solid black;padding-top:0mm;">
<div class="styGenericDiv">
<span class="styBoldText" style="font-size:8pt">For Paperwork Reduction Act Notice, see page 2.</span>
</div>
<div style="float:right;width:81mm;text-align:right;font-size:7pt">
Cat. No. 37699X
<span style="width:18mm;"/>
Form <span class="styBoldText" style="font-size:9pt;">8891</span> (Rev. 12-2012)
</div>
</div>
<!-- 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="$Form8891Data"/>
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
</table>
<br/>
<br/>
<!-- END Left Over Table -->
</form>
</body>
</html>
</xsl:template>
<xsl:template name="MakeAddressLines">
<xsl:choose>
<xsl:when test="$Form8891Data/USAddress != ''">
<xsl:call-template name="PopulateUSAddressTemplate">
<xsl:with-param name="TargetNode" select="$Form8891Data/USAddress"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="PopulateForeignAddressTemplate">
<xsl:with-param name="TargetNode" select="$Form8891Data/ForeignAddress"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="FlattenAndPopulateOtherIncome">
<xsl:param name="OtherIncome"/>
<xsl:for-each select="$OtherIncome">
<tr style="border-color:black;font-size:7pt">
<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 style="border-bottom:0.17mm;border-right:0.17mm;text-align:left">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="UndistributedOtherIncomeType"/>
</xsl:call-template>
</td>
<td>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="UndistributedOtherIncomeAmt"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>