-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAMTAdjustedGainOrLossStatement.xsl
155 lines (140 loc) · 7.01 KB
/
AMTAdjustedGainOrLossStatement.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
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This form by Doug Peterson 6-14-2006 -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes" />
<xsl:strip-space elements="*" />
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:param name="DependencyData" select="$RtnDoc/AMTAdjustedGainOrLossStatement" />
<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="Description" content="{$depDocTitle}" />
<script language="JavaScript" src="{$ScriptPath}/FormDisplay.js"></script>
<xsl:call-template name="InitJS"></xsl:call-template>
<style type="text/css">
</style>
<style type="text/css">
<xsl:if test="not($Print) or $Print=''">
<xsl:call-template name="AddOnStyle"></xsl:call-template>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesDep"/>
</head>
<body class="styBodyClass">
<xsl:call-template name="DocumentHeaderDependency" />
<div class="styDepTitleLine">
<span class="styDepTitle" style="width:46mm;">
<span><xsl:value-of select="$depDocTitle" /></span>
</span>
</div>
<xsl:call-template name="PopulateDepCommonLeftover"><xsl:with-param name="TargetNode" select="$DependencyData"/></xsl:call-template>
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Net Short Term Capital Gain/Loss :</div>
<div style="float:left;clear:none;width:118mm;"><br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$DependencyData/NetShortTermCapitalGainLoss"/>
</xsl:call-template>
</div>
</div>
<br/>
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Net Short Term Capital Gain/Loss Amount:</div>
<div style="float:left;clear:none;width:44mm;text-align:right"><br/>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$DependencyData/NetShortTermCapitalGainLossAmt"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Net Long Term Capital Gain/Loss:</div>
<div style="float:left;clear:none;width:118mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$DependencyData/NetLongTermCapitalGainLoss"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Net Long Term Capital Gain/Loss Amount:</div>
<div style="float:left;clear:none;width:44mm;text-align:right"><br/>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$DependencyData/NetLongTermCapitalGainLossAmt"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Collectables 28% Gain/Loss:</div>
<div style="float:left;clear:none;width:118mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$DependencyData/Collectables28GainLoss"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Collectables 28% Gain/Loss Amount:</div>
<div style="float:left;clear:none;width:44mm;text-align:right"><br/>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$DependencyData/Collectables28GainLossAmt"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Net Section 1231 Gain/Loss</div>
<div style="float:left;clear:none;width:118mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$DependencyData/NetSection1231GainLoss"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">NetSection 1231 Gain/Loss Amount:</div>
<div style="float:left;clear:none;width:44mm;text-align:right"><br/>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$DependencyData/NetSection1231GainLossAmt"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Unrecaptured Section 1250 Gain:</div>
<div style="float:left;clear:none;width:118mm;">
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$DependencyData/UnrecapturedSection1250Gain"/>
</xsl:call-template>
</div>
</div>
<br />
<div class="styTopSectionLine" style="width:187mm;">
<div class="styTopSectionLineLbl" style="float:left;clear:none;">Unrecaptured Section 1250 Gain Amount:</div>
<div style="float:left;clear:none;width:44mm;text-align:right"><br/>
<xsl:call-template name="PopulateAmount">
<xsl:with-param name="TargetNode" select="$DependencyData/UnrecapturedSection1250GainAmt"/>
</xsl:call-template>
</div>
</div>
<br />
</body>
</html>
</xsl:template>
</xsl:stylesheet>