Revision 1711
Added by Jing Tao about 21 years ago
eml-software-2.0.0.xsl | ||
---|---|---|
45 | 45 |
<xsl:for-each select="$references"> |
46 | 46 |
<xsl:call-template name="softwarecommon"> |
47 | 47 |
<xsl:with-param name="softwarefirstColStyle" select="$softwarefirstColStyle"/> |
48 |
<xsl:with-param name="softsubHeaderStyle" select="$softwaresubHeaderStyle"/> |
|
48 |
<xsl:with-param name="softwaresubHeaderStyle" select="$softwaresubHeaderStyle"/>
|
|
49 | 49 |
</xsl:call-template> |
50 | 50 |
</xsl:for-each> |
51 | 51 |
</xsl:when> |
52 | 52 |
<xsl:otherwise> |
53 | 53 |
<xsl:call-template name="softwarecommon"> |
54 | 54 |
<xsl:with-param name="softwarefirstColStyle" select="$softwarefirstColStyle"/> |
55 |
<xsl:with-param name="softsubHeaderStyle" select="$softwaresubHeaderStyle"/> |
|
55 |
<xsl:with-param name="softwaresubHeaderStyle" select="$softwaresubHeaderStyle"/>
|
|
56 | 56 |
</xsl:call-template> |
57 | 57 |
</xsl:otherwise> |
58 | 58 |
</xsl:choose> |
... | ... | |
112 | 112 |
<xsl:param name="softwarefirstColStyle"/> |
113 | 113 |
<xsl:param name="softwaresubHeaderStyle"/> |
114 | 114 |
<xsl:for-each select="implementation"> |
115 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}">
|
|
116 |
<b>Implementation Info</b>
|
|
115 |
<tr><td colspan="2" class="{$softwaresubHeaderStyle}">
|
|
116 |
Implementation Info:
|
|
117 | 117 |
</td> |
118 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
119 |
  |
|
120 |
</td> |
|
121 | 118 |
</tr> |
122 | 119 |
<xsl:for-each select="distribution"> |
123 | 120 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
124 |
<b>Distribution</b>
|
|
121 |
Distribution:
|
|
125 | 122 |
</td> |
126 | 123 |
<td width="{$secondColWidth}"> |
127 | 124 |
<xsl:call-template name="distribution"> |
... | ... | |
133 | 130 |
</xsl:for-each> |
134 | 131 |
<xsl:for-each select="size"> |
135 | 132 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
136 |
Size |
|
133 |
Size:
|
|
137 | 134 |
</td> |
138 | 135 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
139 | 136 |
<xsl:value-of select="."/> |
... | ... | |
142 | 139 |
</xsl:for-each> |
143 | 140 |
<xsl:for-each select="language"> |
144 | 141 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
145 |
Language |
|
142 |
Language:
|
|
146 | 143 |
</td> |
147 | 144 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
148 | 145 |
<xsl:value-of select="LanguageValue"/> |
... | ... | |
150 | 147 |
</tr> |
151 | 148 |
<xsl:if test="LanguageCodeStandard"> |
152 | 149 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
153 |
Language Code Standard |
|
150 |
Language Code Standard:
|
|
154 | 151 |
</td> |
155 | 152 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
156 | 153 |
<xsl:value-of select="LanguageValue"/> |
... | ... | |
160 | 157 |
</xsl:for-each> |
161 | 158 |
<xsl:for-each select="operatingSystem"> |
162 | 159 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
163 |
Operating System |
|
160 |
Operating System:
|
|
164 | 161 |
</td> |
165 | 162 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
166 | 163 |
<xsl:value-of select="."/> |
... | ... | |
169 | 166 |
</xsl:for-each> |
170 | 167 |
<xsl:for-each select="machineProcessor"> |
171 | 168 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
172 |
Operating System |
|
169 |
Operating System:
|
|
173 | 170 |
</td> |
174 | 171 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
175 | 172 |
<xsl:value-of select="."/> |
... | ... | |
178 | 175 |
</xsl:for-each> |
179 | 176 |
<xsl:for-each select="virtualMachine"> |
180 | 177 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
181 |
Virtual Machine |
|
178 |
Virtual Machine:
|
|
182 | 179 |
</td> |
183 | 180 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
184 | 181 |
<xsl:value-of select="."/> |
... | ... | |
187 | 184 |
</xsl:for-each> |
188 | 185 |
<xsl:for-each select="diskUsage"> |
189 | 186 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
190 |
diskUsage
|
|
187 |
Disk Usage:
|
|
191 | 188 |
</td> |
192 | 189 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
193 | 190 |
<xsl:value-of select="."/> |
... | ... | |
196 | 193 |
</xsl:for-each> |
197 | 194 |
<xsl:for-each select="runtimeMemoryUsage"> |
198 | 195 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
199 |
Run Time Memory Usage |
|
196 |
Run Time Memory Usage:
|
|
200 | 197 |
</td> |
201 | 198 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
202 | 199 |
<xsl:value-of select="."/> |
... | ... | |
205 | 202 |
</xsl:for-each> |
206 | 203 |
<xsl:for-each select="programmingLanguage"> |
207 | 204 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
208 |
Programming Language |
|
205 |
Programming Language:
|
|
209 | 206 |
</td> |
210 | 207 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
211 | 208 |
<xsl:value-of select="."/> |
... | ... | |
214 | 211 |
</xsl:for-each> |
215 | 212 |
<xsl:for-each select="checksum"> |
216 | 213 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
217 |
Check Sum |
|
214 |
Check Sum:
|
|
218 | 215 |
</td> |
219 | 216 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
220 | 217 |
<xsl:value-of select="."/> |
... | ... | |
223 | 220 |
</xsl:for-each> |
224 | 221 |
<xsl:for-each select="dependency"> |
225 | 222 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
226 |
Dependency |
|
223 |
Dependency:
|
|
227 | 224 |
</td> |
228 | 225 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
229 | 226 |
  |
... | ... | |
260 | 257 |
<xsl:param name="softwarefirstColStyle"/> |
261 | 258 |
<xsl:for-each select="version"> |
262 | 259 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
263 |
Version Number</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
260 |
Version Number:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
264 | 261 |
<xsl:value-of select="."/></td></tr> |
265 | 262 |
</xsl:for-each> |
266 | 263 |
</xsl:template> |
... | ... | |
269 | 266 |
<xsl:param name="softwarefirstColStyle"/> |
270 | 267 |
<xsl:for-each select="licenseURL"> |
271 | 268 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
272 |
License URL</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
269 |
License URL:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
273 | 270 |
<xsl:value-of select="."/></td></tr> |
274 | 271 |
</xsl:for-each> |
275 | 272 |
</xsl:template> |
... | ... | |
278 | 275 |
<xsl:param name="softwarefirstColStyle"/> |
279 | 276 |
<xsl:for-each select="license"> |
280 | 277 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
281 |
License</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
278 |
License:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
282 | 279 |
<xsl:value-of select="."/></td></tr> |
283 | 280 |
</xsl:for-each> |
284 | 281 |
</xsl:template> |
... | ... | |
289 | 286 |
<xsl:for-each select="access"> |
290 | 287 |
<tr><td colspan="2"> |
291 | 288 |
<xsl:call-template name="access"> |
292 |
<xsl:with-param name="accessfirstColStyle" select="softwarefirstColStyle"/> |
|
293 |
<xsl:with-param name="accesssubHeaderStyle" select="softwaresubHeaderStyle"/> |
|
289 |
<xsl:with-param name="accessfirstColStyle" select="$softwarefirstColStyle"/>
|
|
290 |
<xsl:with-param name="accesssubHeaderStyle" select="$softwaresubHeaderStyle"/>
|
|
294 | 291 |
</xsl:call-template> |
295 | 292 |
</td> |
296 | 293 |
</tr> |
... | ... | |
302 | 299 |
<xsl:param name="softwaresubHeaderStyle"/> |
303 | 300 |
<xsl:for-each select="project"> |
304 | 301 |
<tr><td class="{$softwaresubHeaderStyle}" colspan="2"> |
305 |
<xsl:text>Project Info</xsl:text></td></tr> |
|
302 |
<xsl:text>Project Info:</xsl:text></td></tr>
|
|
306 | 303 |
<tr><td colspan="2"> |
307 | 304 |
<xsl:call-template name="project"> |
308 |
<xsl:with-param name="projectfirstColStyle" select="softwarefirstColStyle"/> |
|
309 |
<xsl:with-param name="projectsubHeaderStyle" select="softwaresubHeaderStyle"/> |
|
305 |
<xsl:with-param name="projectfirstColStyle" select="$softwarefirstColStyle"/>
|
|
306 |
<xsl:with-param name="projectsubHeaderStyle" select="$softwaresubHeaderStyle"/>
|
|
310 | 307 |
</xsl:call-template> |
311 | 308 |
</td> |
312 | 309 |
</tr> |
Also available in: Unified diff
Revise some codes.