-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS973.xsl
552 lines (535 loc) · 26.8 KB
/
IRS973.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
<?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="CommonPathRef.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="IRS973Style.xsl"/>
<xsl:output method="html" indent="yes" />
<xsl:strip-space elements="*" />
<xsl:param name="Form973Data" select="$RtnDoc/IRS973" />
<xsl:variable name="StockInformationSize" select="count($Form973Data/StockInformation)" />
<xsl:variable name="RowsToShow" select="9" />
<xsl:template match="/">
<html xmlns="http://www.irs.gov/efile" xmlns:efile="http://www.irs.gov/efile">
<head>
<title>
<xsl:call-template name="FormTitle">
<xsl:with-param name="RootElement" select="local-name($Form973Data)"></xsl:with-param>
</xsl:call-template>
</title>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<meta http-equiv="Cache-Control" content="private"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="Description" content="IRS Form 973"/>
<script language="JavaScript" src="{$ScriptPath}/FormDisplay.js" type="text/javascript"></script>
<xsl:call-template name="InitJS"></xsl:call-template>
<style type="text/css">
<xsl:if test="not($Print) or $Print=''">
<xsl:call-template name="IRS973Style"></xsl:call-template>
<xsl:call-template name="AddOnStyle"></xsl:call-template>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesForm"/>
</head>
<body class="styBodyClass">
<form name="Form973">
<xsl:call-template name="DocumentHeader"></xsl:call-template>
<!--BEGIN FORM HEADER INFORMATION -->
<div class="styBB" style="width:187mm;">
<div class="styFNBox" style="width:32mm;height:25mm;">
<div>
<span style="padding-top:1mm;">Form<span style="width:6px;"></span></span>
<span class="styFormNumber">973</span>
</div>
<div class="styAgency" style="width:22mm;">(Rev. December 2003)</div>
<div style="padding-top:6mm;">
<span class="styAgency">Department of the Treasury
<!--General Dependency Push Pin -->
<xsl:call-template name="SetFormLinkInline">
<xsl:with-param name="TargetNode" select="$Form973Data"/>
</xsl:call-template>
</span>
<span style="width:20px;"></span>
<span class="styAgency">Internal Revenue Service</span>
</div>
</div>
<div class="styFTBox" style="width:125mm;">
<div class="styMainTitle">Corporation Claim for Deduction<br/>for Consent Dividends</div>
<div class="styFBT"><span style="width:6px;"></span>(Under Section 561 of the Internal Revenue Code)</div>
<div style="font-size:7pt;font-weight:bold;padding-top:1mm;">For tax year beginning <span style="width:20mm;border-bottom:1 solid black; font-weight: normal">
<xsl:call-template name="PopulateReturnHeaderTaxPeriodBeginDate"></xsl:call-template>
</span>, and ending
<span style="width:20mm;border-bottom:1 solid black; font-weight: normal">
<xsl:call-template name="PopulateReturnHeaderTaxPeriodEndDate"></xsl:call-template>
</span>.
</div>
</div>
<div class="styTYBox" style="width:30mm;height:25mm;">
<span style="width:110px;font-size:7pt;padding-top:11mm;">OMB No. 1545-0044</span>
</div>
</div>
<!-- END FORM HEADER INFORMATION -->
<!-- BEGIN NAME OF CORPORATION AND EIN LINE -->
<div class="styBB" style="width:187mm;">
<div class="styNameBox" style="width:135mm;font-size:7pt;font-weight:normal;">
Name of corporation
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine1</xsl:with-param>
</xsl:call-template>
<br style="height:1mm;"/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine2</xsl:with-param>
</xsl:call-template>
</div>
<div class="styEINBox" style="width:50mm;font-weight:bold;padding-left:2mm;">
Employer identification number<br/><br />
<span style="width:50mm;text-align:left;font-weight:normal;">
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">EIN</xsl:with-param>
</xsl:call-template>
</span>
</div>
</div>
<!--END NAME OF CORPORATION AND EIN LINE -->
<!-- BEGIN TABLE FOR StockInformation -->
<!-- BEGIN Table expand/collapse toggle button end -->
<!-- Test for size of StockInformation collection, don't display table expand / colapse toggle button if not needed -->
<xsl:if test="$StockInformationSize > $RowsToShow">
<div class="styBB" style="width:187mm;border-top-width:0px">
<!-- Table expand/collapse toggle button-->
<span class="styGenericDiv" style="float:right;clear:none;width:7mm;text-align:right;">
<xsl:call-template name="SetDynamicTableToggleButton">
<xsl:with-param name="TargetNode" select="$Form973Data/StockInformation"/>
<xsl:with-param name="containerHeight" select="$RowsToShow"/>
<xsl:with-param name="headerHeight" select="1"/>
<xsl:with-param name="containerID" select=" 'SIctn' "/>
</xsl:call-template>
</span>
</div>
</xsl:if>
<!-- END Table expand/collapse toggle button end-->
<div class="styIRS973TableContainer" id="SIctn">
<xsl:call-template name="SetInitialState"/>
<table cellspacing="0" class="styTable" cellpadding="0">
<thead class="styTableThead">
<tr>
<th class="styTableCell" scope="col" style="width:32mm;text-align:center;font-size:7pt;font-weight:normal;border-color:black;">Class of stock</th>
<th class="styTableCell" scope="col" style="width:40mm;text-align:center;font-size:7pt;font-weight:normal;border-color:black;">Number of shares<br />
outstanding on first<br /> day of tax year</th>
<th class="styTableCell" scope="col" style="width:40mm;text-align:center;font-size:7pt;font-weight:normal;border-color:black;">Number of shares<br />
outstanding on last<br /> day of tax year</th>
<th class="styTableCell" scope="col" style="width:39mm;text-align:center;font-size:7pt;font-weight:normal;border-color:black;">
Description of dividend rights
</th>
<th class="styTableCell" scope="col" style="width:36mm;text-align:center;font-size:7pt;font-weight:normal;border-color:black;border-right:none;">
Actual distributions per<br/>share made in tax year<sup>*</sup>
</th>
</tr>
</thead>
<tbody>
<xsl:if test="($Print != $Separated) or (count($Form973Data/StockInformation) <= 9) ">
<xsl:for-each select="$Form973Data/StockInformation">
<xsl:call-template name="StockInformationTemp" />
</xsl:for-each>
<!-- Render out the rest of the empty rows if less than $RowsToShow data items present for consistency with PDF display. -->
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="$RowsToShow - $StockInformationSize" />
<xsl:with-param name="TempToCall" select="'StockInformationTemp'" />
</xsl:call-template>
</xsl:if>
<xsl:if test="($Print = $Separated) and (count($Form973Data/StockInformation) > 9) ">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="9" />
<xsl:with-param name="TempToCall" select="'StockInformationTemp'" />
<xsl:with-param name="IsSeparated" select="'yes' " />
</xsl:call-template>
</xsl:if>
</tbody>
</table>
</div>
<xsl:call-template name="SetInitialDynamicTableHeight">
<xsl:with-param name="TargetNode" select="$Form973Data/StockInformation"/>
<xsl:with-param name="containerHeight" select="$RowsToShow"/>
<xsl:with-param name="headerHeight" select="1"/>
<xsl:with-param name="containerID" select=" 'SIctn' "/>
</xsl:call-template>
<!-- END TABLE FOR StockInformation -->
<!-- BEGIN DescribeUnequalTreatment -->
<div style="width:187mm;">
<div class="styLNDesc" style="width:187mm;font-size:8pt;padding-left:5mm;"><sup>*</sup>If a distribution was not made on all shares of any class, describe any unequal treatment:</div>
<div style="width:187mm;"></div>
<xsl:choose>
<xsl:when test="not($Form973Data/DescribeUnequalTreatment) or $Form973Data/DescribeUnequalTreatment = ''">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="3" />
<xsl:with-param name="TempToCall" select="'EmptyExplanationLine'" />
</xsl:call-template>
</xsl:when>
<xsl:when test="((count($Form973Data/DescribeUnequalTreatment) > 1) and ($Print = $Separated))">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="3" />
<xsl:with-param name="IsSeparated" select="'yes'" />
<xsl:with-param name="TempToCall" select="'EmptyExplanationLine'" />
<xsl:with-param name="CalledTemplate" select="$Form973Data/DescribeUnequalTreatment" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$Form973Data/DescribeUnequalTreatment">
<div class="styBB" style="width:187mm;text-align:left;float:none;clear:both;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="." />
</xsl:call-template>
</div>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<div class="styTBB" style="width:187mm;"></div>
</div>
<!-- END DescribeUnequalTreatment -->
<!-- BEGIN DescribeChangesInOutstdStock -->
<div style="width:187mm;">
<div class="styLNDesc" style="width:187mm;font-size:8pt;padding-left:5mm;padding-top:5mm;">Describe any other changes in outstanding stock during the tax year:</div>
<div style="width:187mm;"></div>
<xsl:choose>
<xsl:when test="not($Form973Data/DescribeChangesInOutstdStock) or $Form973Data/DescribeChangesInOutstdStock = ''">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="9" />
<xsl:with-param name="TempToCall" select="'EmptyExplanationLine'" />
</xsl:call-template>
</xsl:when>
<xsl:when test="((count($Form973Data/DescribeChangesInOutstdStock) > 1) and ($Print = $Separated))">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="9" />
<xsl:with-param name="IsSeparated" select="'yes'" />
<xsl:with-param name="TempToCall" select="'EmptyExplanationLine'" />
<xsl:with-param name="CalledTemplate" select="$Form973Data/DescribeChangesInOutstdStock" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$Form973Data/DescribeChangesInOutstdStock">
<div class="styBB" style="width:187mm;text-align:left;float:none;clear:both;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="." />
</xsl:call-template>
</div>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<div class="styTBB" style="width:187mm;text-align:center;">(Use more sheets if necessary.)</div>
<!-- Page Footer -->
<div class="pageEnd" style="width:187mm;">
<span style="width:97mm;"><b>For Paperwork Reduction Act Notice, see back of form.</b></span>
<span style="width:10mm;"></span>Cat. No. 17059P
<span style="width:22mm;"></span>Form
<span style="font-weight:bold;font-size:7pt;">973</span> (Rev. 12-2003)
</div>
</div>
<!-- ENDDescribeChangesInOutstdStock -->
<!-- BEGIN StockEntitledToCumulativeDiv -->
<div style="width:187mm;">
<!-- Page 2 heading -->
<div style="width:187mm;border-bottom:solid black 2px;padding-top:2mm;">
<span style="float:left;">Form 973 (Rev. 12-2003)</span>
<span style="float:right;">Page <b>2</b></span>
</div>
<!-- End Page 2 heading -->
<div class="styLNDesc" style="width:187mm;font-size:8pt;padding-left:5mm;clear:both;float:none;">If any stock outstanding on the last day of the tax year is entitled to cumulative dividends, show the amount for earlier years unpaid at the beginning of the tax year. Give the class or classes of stock involved.</div>
<div style="width:187mm;clear:both;float:none;"></div>
<xsl:choose>
<xsl:when test="not($Form973Data/StockEntitledToCumulativeDiv) or $Form973Data/StockEntitledToCumulativeDiv = ''">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="10" />
<xsl:with-param name="TempToCall" select="'EmptyExplanationLine'" />
</xsl:call-template>
</xsl:when>
<xsl:when test="((count($Form973Data/StockEntitledToCumulativeDiv) > 1) and ($Print = $Separated))">
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="10" />
<xsl:with-param name="IsSeparated" select="'yes'" />
<xsl:with-param name="TempToCall" select="'EmptyExplanationLine'" />
<xsl:with-param name="CalledTemplate" select="$Form973Data/StockEntitledToCumulativeDiv" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$Form973Data/StockEntitledToCumulativeDiv">
<div class="styBB" style="width:187mm;text-align:left;float:none;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="." />
</xsl:call-template>
</div>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<div class="styTBB" style="width:187mm;text-align:center;clear:both;float:none;">(Use more sheets if necessary.)</div>
</div>
<!-- END StockEntitledToCumulativeDiv -->
<!-- Recycle Image -->
<div align="center" style="width:187mm;padding-top:1mm;clear:both;"></div>
<div class="pageEnd"></div>
<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>
<table class="styLeftOverTbl">
<xsl:call-template name="PopulateCommonLeftover">
<xsl:with-param name="TargetNode" select="$Form973Data" />
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
</table>
<!-- Begin Separated Repeating Data table -->
<!-- Begin SRD for first part -->
<xsl:if test="($Print = $Separated) and (count($Form973Data/StockInformation) > 9)">
<span class="styRepeatingDataTitle">Form 973 - Stock Information:</span>
<table cellspacing="0" class="styDepTbl" cellpadding="0" style="font-size:7pt;">
<thead class="styTableThead">
<tr class="styDepTblHdr">
<th class="styDepTblCell" scope="col" style="width:32mm;text-align:center;font-size:7pt;font- weight:normal;border-color:black;">Class of stock</th>
<th class="styDepTblCell" scope="col" style="width:40mm;text-align:center;font-size:7pt;font- weight:normal;border-color:black;">Number of shares<br />
outstanding on first<br /> day of tax year</th>
<th class="styDepTblCell" scope="col" style="width:40mm;text-align:center;font-size:7pt;font- weight:normal;border-color:black;">Number of shares<br />
outstanding on last<br /> day of tax year</th>
<th class="styDepTblCell" scope="col" style="width:39mm;text-align:center;font-size:7pt;font- weight:normal;border-color:black;">
Description of dividend rights
</th>
<th class="styDepTblCell" scope="col" style="width:36mm;text-align:center;font-size:7pt;font- weight:normal;border-color:black;border-right:none;">
Actual distributions per<br/>share made in tax year<sup>*</sup>
</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="$Form973Data/StockInformation">
<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="styTableCell" style="font-size:7pt;font-weight:normal;border-color:black;
text-align:left;height:7mm;width:32mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="ClassOfStock" />
</xsl:call-template>
</td>
<td class="styTableCell" style="font-size:7pt;border-color:black;width:40mm;text-align:right;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="NumberOfSharesOnFirstDay" />
</xsl:call-template>
<span class="styTableCellPad"></span>
</td>
<td class="styTableCell" style="font-size:7pt;border-style:solid;border-color:black;width:40mm;text- align:right;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="NumberOfSharesOnLastDay" />
</xsl:call-template>
<span class="styTableCellPad"></span></td>
<td class="styTableCell" style="font-size:7pt;border-color:black;text-align:left;width:39mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="DescriptionOfDividendRights" />
</xsl:call-template>
</td>
<td class="styTableCell" style="font-size:7pt;border-color:black;border-right:none;width:36mm;text- align:center;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="ActualDistributionsPerShare" />
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
<br />
</xsl:if>
<!-- End SRD for first part -->
<!--Begin SRD for the unequal treatment -->
<xsl:if test="($Print = $Separated) and (count($Form973Data/DescribeUnequalTreatment) > 1)">
<span class="styRepeatingDataTitle">Form 973 - If a distribution was not made on all shares of any class, describe any unequal treatment:</span>
<table cellspacing="0" class="styDepTbl" cellpadding="0" style="font-size:7pt;">
<thead class="styTableThead">
</thead>
<tbody>
<xsl:for-each select="$Form973Data/DescribeUnequalTreatment">
<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="text-align:left;height:7mm;width:187mm;vertical-align:top;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="." />
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
<br />
</xsl:if>
<!-- End SRD for Unequal treatment -->
<!--Begin SRD for the outstanding stock treatment -->
<xsl:if test="($Print = $Separated) and (count($Form973Data/DescribeChangesInOutstdStock) > 1)">
<span class="styRepeatingDataTitle">Form 973 - Describe any other changes in outstanding stock during the tax year:</span>
<table cellspacing="0" class="styDepTbl" cellpadding="0" style="font-size:7pt;">
<thead class="styTableThead">
</thead>
<tbody>
<xsl:for-each select="$Form973Data/DescribeChangesInOutstdStock">
<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="text-align:left;height:7mm;width:187mm;vertical-align:top;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="." />
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
<br />
</xsl:if>
<!-- End SRD for outstanding stock -->
<!--Begin SRD for the cumulative dividends -->
<xsl:if test="($Print = $Separated) and (count($Form973Data/StockEntitledToCumulativeDiv) > 1)">
<span class="styRepeatingDataTitle">Form 973 - If any stock outstanding on the last day of the tax year is entitled to cumulative dividends, show the amount for earlier years unpaid at the beginning of the tax year. Give the class or classes of stock involved:</span>
<table cellspacing="0" class="styDepTbl" cellpadding="0" style="font-size:7pt;">
<thead class="styTableThead">
</thead>
<tbody>
<xsl:for-each select="$Form973Data/StockEntitledToCumulativeDiv">
<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="text-align:left;height:7mm;width:187mm;vertical-align:top;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="." />
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
<br />
</xsl:if>
<!-- End SRD for cumulative dividends -->
</form>
</body>
</html>
</xsl:template>
<xsl:template name="StockInformationTemp">
<xsl:param name="IsSeparated">no</xsl:param>
<!--
Data element names in StockInformation element
ClassOfStock
NumberOfSharesOnFirstDay
NumberOfSharesOnLastDay
DescriptionOfDividendRights
ActualDistributionsPerShare-
-->
<tr>
<td class="styTableCell" style="font-size:7pt;font-weight:normal;border-color:black;text-align:left;height:7mm;width:32mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="ClassOfStock" />
</xsl:call-template>
<xsl:if test="$IsSeparated = 'yes' ">
<xsl:call-template name="PopulateAdditionalDataTableMessage">
<xsl:with-param name="TargetNode" select="$Form973Data/StockInformation"/>
<xsl:with-param name="ShortMessage" select="'true'" />
</xsl:call-template>
</xsl:if>
</td>
<td class="styTableCell" style="font-size:7pt;border-color:black;width:40mm;text-align:right;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="NumberOfSharesOnFirstDay" />
</xsl:call-template>
<span class="styTableCellPad"></span>
</td>
<td class="styTableCell" style="font-size:7pt;border-style:solid;border-color:black;width:40mm;text-align:right;">
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="NumberOfSharesOnLastDay" />
</xsl:call-template>
<span class="styTableCellPad"></span></td>
<td class="styTableCell" style="font-size:7pt;border-color:black;text-align:left;width:39mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="DescriptionOfDividendRights" />
</xsl:call-template>
</td>
<td class="styTableCell" style="font-size:7pt;border-color:black;border-right:none;width:36mm;text-align:center;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="ActualDistributionsPerShare" />
</xsl:call-template>
</td>
</tr>
</xsl:template>
<xsl:template name="EmptyExplanationLine">
<xsl:param name="IsSeparated">no</xsl:param>
<xsl:param name="CalledTemplate">no</xsl:param>
<div class="styBB" style="width:187mm;height:7mm;">
<xsl:if test="$IsSeparated = 'yes' ">
<xsl:call-template name="PopulateAdditionalDataTableMessage">
<xsl:with-param name="TargetNode" select="$CalledTemplate"/>
</xsl:call-template>
</xsl:if>
</div>
</xsl:template>
<!-- The param CalledTemplate is used to differentiate different elements for the additional data table as the different elements call the same template -->
<xsl:template name="EmptyIteratorTemp">
<xsl:param name="NumEmptyRows" />
<xsl:param name="TempToCall" />
<xsl:param name="CalledTemplate" select="$Form973Data"></xsl:param>
<xsl:param name="IsSeparated">no</xsl:param>
<xsl:if test="$IsSeparated = 'no' ">
<xsl:if test="$NumEmptyRows > 0">
<xsl:choose>
<xsl:when test="$TempToCall = 'StockInformationTemp'">
<xsl:call-template name="StockInformationTemp" />
</xsl:when>
<xsl:when test="$TempToCall = 'EmptyExplanationLine'">
<xsl:call-template name="EmptyExplanationLine" />
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="$NumEmptyRows - 1" />
<xsl:with-param name="TempToCall" select="$TempToCall" />
</xsl:call-template>
</xsl:if>
</xsl:if>
<xsl:if test="$IsSeparated = 'yes' ">
<xsl:choose>
<xsl:when test="$TempToCall = 'StockInformationTemp'">
<xsl:call-template name="StockInformationTemp">
<xsl:with-param name="IsSeparated">yes</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:when test="$TempToCall = 'EmptyExplanationLine'">
<xsl:call-template name="EmptyExplanationLine">
<xsl:with-param name="IsSeparated">yes</xsl:with-param>
<xsl:with-param name="CalledTemplate" select="$CalledTemplate" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:call-template name="EmptyIteratorTemp">
<xsl:with-param name="NumEmptyRows" select="$NumEmptyRows - 1" />
<xsl:with-param name="TempToCall" select="$TempToCall" />
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>