Revision 7997
Added by ben leinfelder over 11 years ago
lib/style/skins/metacatui/eml-2/eml-physical.xsl | ||
---|---|---|
45 | 45 |
<xsl:param name="distributionindex"/> |
46 | 46 |
<xsl:param name="physicalfirstColStyle"/> |
47 | 47 |
<xsl:param name="notshowdistribution"/> |
48 |
<table class="{$tabledefaultStyle}"> |
|
48 |
|
|
49 |
<div class="physicalContainer"> |
|
50 |
|
|
49 | 51 |
<xsl:choose> |
50 | 52 |
<xsl:when test="references!=''"> |
51 | 53 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
64 | 66 |
</xsl:call-template> |
65 | 67 |
</xsl:otherwise> |
66 | 68 |
</xsl:choose> |
67 |
</table> |
|
69 |
|
|
70 |
</div> |
|
71 |
|
|
68 | 72 |
</xsl:template> |
69 | 73 |
|
70 | 74 |
<xsl:template name="physicalcommon"> |
... | ... | |
124 | 128 |
<xsl:template name="physicalobjectName"> |
125 | 129 |
<xsl:param name="physicalfirstColStyle"/> |
126 | 130 |
<xsl:for-each select="objectName"> |
127 |
<tr>
|
|
128 |
<td class="{$physicalfirstColStyle}">
|
|
129 |
Object Name:</td>
|
|
130 |
<td class="{$secondColStyle}">
|
|
131 |
<xsl:value-of select="."/></td>
|
|
132 |
</tr>
|
|
131 |
<div class="control-group">
|
|
132 |
<label class="control-label">Object Name</label>
|
|
133 |
<div class="controls controls-well">
|
|
134 |
<xsl:value-of select="."/>
|
|
135 |
</div>
|
|
136 |
</div>
|
|
133 | 137 |
</xsl:for-each> |
134 | 138 |
</xsl:template> |
135 | 139 |
|
136 | 140 |
<xsl:template name="physicalsize"> |
137 | 141 |
<xsl:param name="physicalfirstColStyle"/> |
138 | 142 |
<xsl:for-each select="size"> |
139 |
<tr> |
|
140 |
<td class="{$physicalfirstColStyle}"> |
|
141 |
Size:</td> |
|
142 |
<td class="{$secondColStyle}"> |
|
143 |
<xsl:value-of select="."/><xsl:text> </xsl:text><xsl:value-of select="./@unit"/></td> |
|
144 |
</tr> |
|
143 |
<div class="control-group"> |
|
144 |
<label class="control-label">Size</label> |
|
145 |
<div class="controls controls-well"> |
|
146 |
<xsl:value-of select="."/><xsl:text> </xsl:text><xsl:value-of select="./@unit"/></div> |
|
147 |
</div> |
|
145 | 148 |
</xsl:for-each> |
146 | 149 |
</xsl:template> |
147 | 150 |
|
148 | 151 |
<xsl:template name="physicalauthentication"> |
149 | 152 |
<xsl:param name="physicalfirstColStyle"/> |
150 | 153 |
<xsl:for-each select="authentication"> |
151 |
<tr> |
|
152 |
<td class="{$physicalfirstColStyle}"> |
|
153 |
Authentication:</td> |
|
154 |
<td class="{$secondColStyle}"> |
|
154 |
<div class="control-group"> |
|
155 |
<label class="control-label">Authentication</label> |
|
156 |
<div class="controls controls-well"> |
|
155 | 157 |
<xsl:value-of select="."/><xsl:text> </xsl:text> |
156 | 158 |
<xsl:if test="./@method"> |
157 |
Caculated By<xsl:text> </xsl:text><xsl:value-of select="./@method"/> |
|
159 |
Calculated By<xsl:text> </xsl:text><xsl:value-of select="./@method"/>
|
|
158 | 160 |
</xsl:if> |
159 |
</td>
|
|
160 |
</tr>
|
|
161 |
</div>
|
|
162 |
</div>
|
|
161 | 163 |
</xsl:for-each> |
162 | 164 |
</xsl:template> |
163 | 165 |
|
164 | 166 |
<xsl:template name="physicalcompressionMethod"> |
165 | 167 |
<xsl:param name="physicalfirstColStyle"/> |
166 | 168 |
<xsl:for-each select="compressionMethod"> |
167 |
<tr> |
|
168 |
<td class="{$physicalfirstColStyle}"> |
|
169 |
Compression Method:</td> |
|
170 |
<td class="{$secondColStyle}"> |
|
171 |
<xsl:value-of select="."/></td> |
|
172 |
</tr> |
|
169 |
<div class="control-group"> |
|
170 |
<label class="control-label">Compression Method</label> |
|
171 |
<div class="controls controls-well"> |
|
172 |
<xsl:value-of select="."/></div> |
|
173 |
</div> |
|
173 | 174 |
</xsl:for-each> |
174 | 175 |
</xsl:template> |
175 | 176 |
|
176 | 177 |
<xsl:template name="physicalencodingMethod"> |
177 | 178 |
<xsl:param name="physicalfirstColStyle"/> |
178 | 179 |
<xsl:for-each select="encodingMethod"> |
179 |
<tr>
|
|
180 |
<td class="{$physicalfirstColStyle}">
|
|
181 |
Encoding Method:</td>
|
|
182 |
<td class="{$secondColStyle}">
|
|
183 |
<xsl:value-of select="."/></td>
|
|
184 |
</tr>
|
|
180 |
<div class="control-group">
|
|
181 |
<label class="control-label">Encoding Method</label>
|
|
182 |
<div class="controls controls-well">
|
|
183 |
<xsl:value-of select="."/>
|
|
184 |
</div>
|
|
185 |
</div>
|
|
185 | 186 |
</xsl:for-each> |
186 | 187 |
</xsl:template> |
187 | 188 |
|
188 | 189 |
<xsl:template name="physicalcharacterEncoding"> |
189 | 190 |
<xsl:param name="physicalfirstColStyle"/> |
190 | 191 |
<xsl:for-each select="characterEncoding"> |
191 |
<tr> |
|
192 |
<td class="{$physicalfirstColStyle}"> |
|
193 |
Character Encoding:</td> |
|
194 |
<td class="{$secondColStyle}"> |
|
195 |
<xsl:value-of select="."/></td> |
|
196 |
</tr> |
|
192 |
<div class="control-group"> |
|
193 |
<label class="control-label">Character Encoding</label> |
|
194 |
<div class="controls controls-well"> |
|
195 |
<xsl:value-of select="."/></div> |
|
196 |
</div> |
|
197 | 197 |
</xsl:for-each> |
198 | 198 |
</xsl:template> |
199 | 199 |
|
... | ... | |
204 | 204 |
<xsl:template name="physicaltextFormat"> |
205 | 205 |
<xsl:param name="physicalfirstColStyle"/> |
206 | 206 |
<xsl:for-each select="dataFormat/textFormat"> |
207 |
<tr> |
|
208 |
<td class="{$physicalfirstColStyle}"> |
|
209 |
Text Format:</td> |
|
210 |
<td> |
|
211 |
<table class="{$tabledefaultStyle}"> |
|
207 |
<div class="control-group"> |
|
208 |
<label class="control-label">Text Format</label> |
|
209 |
<div class="controls controls-well"> |
|
210 |
<table class="table table-striped"> |
|
212 | 211 |
<xsl:apply-templates> |
213 | 212 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
214 | 213 |
</xsl:apply-templates> |
215 | 214 |
</table> |
216 |
</td>
|
|
217 |
</tr>
|
|
215 |
</div>
|
|
216 |
</div>
|
|
218 | 217 |
|
219 | 218 |
</xsl:for-each> |
220 | 219 |
|
... | ... | |
224 | 223 |
<xsl:template match="numHeaderLines"> |
225 | 224 |
<xsl:param name="physicalfirstColStyle"/> |
226 | 225 |
<tr> |
227 |
<td class="{$physicalfirstColStyle}">Number of Header Lines:</td>
|
|
228 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
226 |
<td class="{$physicalfirstColStyle}">Number of Header Lines</td>
|
|
227 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
229 | 228 |
</tr> |
230 | 229 |
</xsl:template> |
231 | 230 |
|
232 | 231 |
<xsl:template match="numFooterLines"> |
233 | 232 |
<xsl:param name="physicalfirstColStyle"/> |
234 | 233 |
<tr> |
235 |
<td class="{$physicalfirstColStyle}">Number of Footer Lines:</td>
|
|
236 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
234 |
<td class="{$physicalfirstColStyle}">Number of Footer Lines</td>
|
|
235 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
237 | 236 |
</tr> |
238 | 237 |
</xsl:template> |
239 | 238 |
|
240 | 239 |
<xsl:template match="recordDelimiter"> |
241 | 240 |
<xsl:param name="physicalfirstColStyle"/> |
242 | 241 |
<tr> |
243 |
<td class="{$physicalfirstColStyle}">Record Delimiter:</td>
|
|
244 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
242 |
<td class="{$physicalfirstColStyle}">Record Delimiter</td>
|
|
243 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
245 | 244 |
</tr> |
246 | 245 |
</xsl:template> |
247 | 246 |
|
248 | 247 |
<xsl:template match="physicalLineDelimiter"> |
249 | 248 |
<xsl:param name="physicalfirstColStyle"/> |
250 | 249 |
<tr> |
251 |
<td class="{$physicalfirstColStyle}">Line Delimiter:</td>
|
|
252 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
250 |
<td class="{$physicalfirstColStyle}">Line Delimiter</td>
|
|
251 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
253 | 252 |
</tr> |
254 | 253 |
</xsl:template> |
255 | 254 |
|
256 | 255 |
<xsl:template match="numPhysicalLinesPerRecord"> |
257 | 256 |
<xsl:param name="physicalfirstColStyle"/> |
258 | 257 |
<tr> |
259 |
<td class="{$physicalfirstColStyle}">Line Number For One Record:</td>
|
|
260 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
258 |
<td class="{$physicalfirstColStyle}">Line Number For One Record</td>
|
|
259 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
261 | 260 |
</tr> |
262 | 261 |
</xsl:template> |
263 | 262 |
|
264 | 263 |
<xsl:template match="maxRecordLength"> |
265 | 264 |
<xsl:param name="physicalfirstColStyle"/> |
266 | 265 |
<tr> |
267 |
<td class="{$physicalfirstColStyle}">Maximum Record Length:</td>
|
|
268 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
266 |
<td class="{$physicalfirstColStyle}">Maximum Record Length</td>
|
|
267 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
269 | 268 |
</tr> |
270 | 269 |
</xsl:template> |
271 | 270 |
|
272 | 271 |
<xsl:template match="attributeOrientation"> |
273 | 272 |
<xsl:param name="physicalfirstColStyle"/> |
274 | 273 |
<tr> |
275 |
<td class="{$physicalfirstColStyle}">Attribute Orientation:</td>
|
|
276 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
274 |
<td class="{$physicalfirstColStyle}">Attribute Orientation</td>
|
|
275 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
277 | 276 |
</tr> |
278 | 277 |
</xsl:template> |
279 | 278 |
|
280 | 279 |
<xsl:template match="simpleDelimited"> |
281 | 280 |
<xsl:param name="physicalfirstColStyle"/> |
282 | 281 |
<tr> |
283 |
<td class="{$physicalfirstColStyle}">Simple Delimited:</td> |
|
284 |
<td > |
|
285 |
<table class="{$tabledefaultStyle}"> |
|
286 |
<xsl:apply-templates> |
|
287 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
288 |
</xsl:apply-templates> |
|
289 |
</table> |
|
290 |
</td> |
|
282 |
<th colspan="2">Simple Text</th> |
|
291 | 283 |
</tr> |
284 |
<xsl:apply-templates> |
|
285 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
286 |
</xsl:apply-templates> |
|
292 | 287 |
</xsl:template> |
293 | 288 |
|
294 | 289 |
<xsl:template match="complex"> |
295 | 290 |
<xsl:param name="physicalfirstColStyle"/> |
296 | 291 |
<tr> |
297 |
<td class="{$physicalfirstColStyle}">Complex Delimited:</td> |
|
298 |
<td > |
|
299 |
<table class="{$tabledefaultStyle}"> |
|
300 |
<xsl:call-template name="textFixed"> |
|
301 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
302 |
</xsl:call-template> |
|
303 |
<xsl:call-template name="textDelimited"> |
|
304 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
305 |
</xsl:call-template> |
|
306 |
</table> |
|
307 |
</td> |
|
292 |
<th colspan="2">Complex Delimited</th> |
|
308 | 293 |
</tr> |
294 |
<xsl:call-template name="textFixed"> |
|
295 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
296 |
</xsl:call-template> |
|
297 |
<xsl:call-template name="textDelimited"> |
|
298 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
299 |
</xsl:call-template> |
|
300 |
|
|
309 | 301 |
</xsl:template> |
310 | 302 |
|
311 | 303 |
|
312 | 304 |
<xsl:template name="textFixed"> |
313 | 305 |
<xsl:param name="physicalfirstColStyle"/> |
314 | 306 |
<tr> |
315 |
<td class="{$physicalfirstColStyle}">Text Fixed:</td> |
|
316 |
<td > |
|
317 |
<table class="{$tabledefaultStyle}"> |
|
318 |
<xsl:apply-templates> |
|
319 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
320 |
</xsl:apply-templates> |
|
321 |
</table> |
|
322 |
</td> |
|
307 |
<th colspan="2">Text Fixed</th> |
|
323 | 308 |
</tr> |
309 |
<xsl:apply-templates> |
|
310 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
311 |
</xsl:apply-templates> |
|
312 |
|
|
324 | 313 |
</xsl:template> |
325 | 314 |
|
326 | 315 |
<xsl:template name="textDelimited"> |
327 | 316 |
<xsl:param name="physicalfirstColStyle"/> |
328 | 317 |
<tr> |
329 |
<td class="{$physicalfirstColStyle}">Text Delimited:</td> |
|
330 |
<td > |
|
331 |
<table class="{$tabledefaultStyle}"> |
|
332 |
<xsl:apply-templates> |
|
333 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
334 |
</xsl:apply-templates> |
|
335 |
</table> |
|
336 |
</td> |
|
318 |
<th colspan="2">Text Delimited</th> |
|
337 | 319 |
</tr> |
320 |
<xsl:apply-templates> |
|
321 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
|
322 |
</xsl:apply-templates> |
|
338 | 323 |
</xsl:template> |
339 | 324 |
|
340 | 325 |
<xsl:template match="quoteCharacter"> |
341 | 326 |
<xsl:param name="physicalfirstColStyle"/> |
342 | 327 |
<tr> |
343 |
<td class="{$firstColStyle}">Quote Character:</td>
|
|
344 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
328 |
<td class="{$firstColStyle}">Quote Character</td>
|
|
329 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
345 | 330 |
</tr> |
346 | 331 |
</xsl:template> |
347 | 332 |
|
348 | 333 |
<xsl:template match="literalCharacter"> |
349 | 334 |
<xsl:param name="physicalfirstColStyle"/> |
350 | 335 |
<tr> |
351 |
<td class="{$firstColStyle}">Literal Character:</td>
|
|
352 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
336 |
<td class="{$firstColStyle}">Literal Character</td>
|
|
337 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
353 | 338 |
</tr> |
354 | 339 |
</xsl:template> |
355 | 340 |
|
... | ... | |
357 | 342 |
<xsl:template match="fieldDelimiter"> |
358 | 343 |
<xsl:param name="physicalfirstColStyle"/> |
359 | 344 |
<tr> |
360 |
<td class="{$firstColStyle}">Field Delimeter:</td>
|
|
361 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
345 |
<td class="{$firstColStyle}">Field Delimeter</td>
|
|
346 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
362 | 347 |
</tr> |
363 | 348 |
</xsl:template> |
364 | 349 |
|
365 | 350 |
<xsl:template match="fieldWidth"> |
366 | 351 |
<xsl:param name="physicalfirstColStyle"/> |
367 |
<tr><td class="{$firstColStyle}">Field Width:</td> |
|
368 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
352 |
<tr> |
|
353 |
<td class="{$firstColStyle}">Field Width</td> |
|
354 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
369 | 355 |
</tr> |
370 | 356 |
</xsl:template> |
371 | 357 |
|
372 | 358 |
<xsl:template match="lineNumber"> |
373 | 359 |
<xsl:param name="physicalfirstColStyle"/> |
374 |
<tr><td class="{$firstColStyle}">Line Number:</td> |
|
375 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
360 |
<tr> |
|
361 |
<td class="{$firstColStyle}">Line Number</td> |
|
362 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
376 | 363 |
</tr> |
377 | 364 |
</xsl:template> |
378 | 365 |
|
379 | 366 |
<xsl:template match="fieldStartColumn"> |
380 | 367 |
<xsl:param name="physicalfirstColStyle"/> |
381 | 368 |
<tr> |
382 |
<td class="{$firstColStyle}">Field Start Column:</td>
|
|
383 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
369 |
<td class="{$firstColStyle}">Field Start Column</td>
|
|
370 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
384 | 371 |
</tr> |
385 | 372 |
</xsl:template> |
386 | 373 |
|
... | ... | |
391 | 378 |
<xsl:template name="physicalexternallyDefinedFormat"> |
392 | 379 |
<xsl:param name="physicalfirstColStyle"/> |
393 | 380 |
<xsl:for-each select="dataFormat/externallyDefinedFormat"> |
394 |
<tr> |
|
395 |
<td class="{$physicalfirstColStyle}"> |
|
396 |
Externally Defined Format:</td> |
|
397 |
<td> |
|
398 |
<table class="{$tabledefaultStyle}"> |
|
381 |
<div class="control-group"> |
|
382 |
<label class="control-label">Externally Defined Format</label> |
|
383 |
<div class="controls controls-well"> |
|
384 |
<table class="table table-striped"> |
|
399 | 385 |
<xsl:apply-templates> |
400 | 386 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
401 | 387 |
</xsl:apply-templates> |
402 | 388 |
</table> |
403 |
</td>
|
|
404 |
</tr>
|
|
389 |
</div>
|
|
390 |
</div>
|
|
405 | 391 |
</xsl:for-each> |
406 | 392 |
</xsl:template> |
407 | 393 |
<xsl:template match="formatName"> |
408 | 394 |
<xsl:param name="physicalfirstColStyle"/> |
409 | 395 |
<xsl:if test="normalize-space(.)!=''"> |
410 | 396 |
<tr> |
411 |
<td class="{$firstColStyle}">Format Name:</td>
|
|
412 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
397 |
<td class="{$firstColStyle}">Format Name</td>
|
|
398 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
413 | 399 |
</tr> |
414 | 400 |
</xsl:if> |
415 | 401 |
</xsl:template> |
... | ... | |
417 | 403 |
<xsl:template match="formatVersion"> |
418 | 404 |
<xsl:param name="physicalfirstColStyle"/> |
419 | 405 |
<tr> |
420 |
<td class="{$firstColStyle}">Format Version:</td>
|
|
421 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td> |
|
406 |
<td class="{$firstColStyle}">Format Version</td>
|
|
407 |
<td class="{$secondColStyle}"><xsl:value-of select="."/></td>
|
|
422 | 408 |
</tr> |
423 | 409 |
</xsl:template> |
424 | 410 |
|
425 | 411 |
<xsl:template match="citation"> |
426 | 412 |
<xsl:param name="physicalfirstColStyle"/> |
427 | 413 |
<tr> |
428 |
<td class="{$physicalfirstColStyle}">Citation: </td>
|
|
429 |
<td> |
|
430 |
<xsl:call-template name="citation"> |
|
431 |
<xsl:with-param name="citationfirstColStyle" select="$physicalfirstColStyle"/> |
|
432 |
<xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/> |
|
433 |
</xsl:call-template> |
|
434 |
</td> |
|
414 |
<td class="{$physicalfirstColStyle}">Citation</td>
|
|
415 |
<td>
|
|
416 |
<xsl:call-template name="citation">
|
|
417 |
<xsl:with-param name="citationfirstColStyle" select="$physicalfirstColStyle"/>
|
|
418 |
<xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
|
|
419 |
</xsl:call-template>
|
|
420 |
</td>
|
|
435 | 421 |
</tr> |
436 | 422 |
</xsl:template> |
437 | 423 |
|
... | ... | |
441 | 427 |
<xsl:template name="physicalbinaryRasterFormat"> |
442 | 428 |
<xsl:param name="physicalfirstColStyle"/> |
443 | 429 |
<xsl:for-each select="dataFormat/binaryRasterFormat"> |
444 |
<tr> |
|
445 |
<td class="{$physicalfirstColStyle}"> |
|
446 |
Binary Raster Format:</td> |
|
447 |
<td> |
|
448 |
<table class="{$tabledefaultStyle}"> |
|
430 |
<div class="control-group"> |
|
431 |
<label class="control-label">Binary Raster Format</label> |
|
432 |
<div class="controls controls-well"> |
|
433 |
<table class="table table-striped"> |
|
449 | 434 |
<xsl:apply-templates> |
450 | 435 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
451 | 436 |
</xsl:apply-templates> |
452 | 437 |
</table> |
453 |
</td>
|
|
454 |
</tr>
|
|
438 |
</div>
|
|
439 |
</div>
|
|
455 | 440 |
|
456 | 441 |
</xsl:for-each> |
457 | 442 |
</xsl:template> |
... | ... | |
459 | 444 |
<xsl:template match="rowColumnOrientation"> |
460 | 445 |
<xsl:param name="physicalfirstColStyle"/> |
461 | 446 |
<tr> |
462 |
<td class="{$firstColStyle}">Orientation:</td>
|
|
463 |
<td class="{$secondColStyle}"> |
|
464 |
<xsl:value-of select="."/> |
|
465 |
</td> |
|
447 |
<td class="{$firstColStyle}">Orientation</td>
|
|
448 |
<td class="{$secondColStyle}">
|
|
449 |
<xsl:value-of select="."/>
|
|
450 |
</td>
|
|
466 | 451 |
</tr> |
467 | 452 |
</xsl:template> |
468 | 453 |
|
469 | 454 |
<xsl:template match="multiBand"> |
470 | 455 |
<xsl:param name="physicalfirstColStyle"/> |
471 | 456 |
<tr> |
472 |
<td class="{$firstColStyle}">Multiple Bands:</td> |
|
473 |
<td> |
|
474 |
<table class="{$tabledefaultStyle}"> |
|
475 |
<tr> |
|
476 |
<td class="{$firstColStyle}">Number of Spectral Bands:</td> |
|
477 |
<td class="{$secondColStyle}"> |
|
478 |
<xsl:value-of select="./nbands"/> |
|
479 |
</td> |
|
480 |
</tr> |
|
481 |
<tr> |
|
482 |
<td class="{$firstColStyle}">Layout:</td> |
|
483 |
<td class="{$secondColStyle}"> |
|
484 |
<xsl:value-of select="./layout"/> |
|
485 |
</td> |
|
486 |
</tr> |
|
487 |
</table> |
|
488 |
</td> |
|
457 |
<th colspan="2">Multiple Bands</th> |
|
489 | 458 |
</tr> |
459 |
<tr> |
|
460 |
<td class="{$firstColStyle}">Number of Spectral Bands</td> |
|
461 |
<td class="{$secondColStyle}"> |
|
462 |
<xsl:value-of select="./nbands"/> |
|
463 |
</td> |
|
464 |
</tr> |
|
465 |
<tr> |
|
466 |
<td class="{$firstColStyle}">Layout</td> |
|
467 |
<td class="{$secondColStyle}"> |
|
468 |
<xsl:value-of select="./layout"/> |
|
469 |
</td> |
|
470 |
</tr> |
|
471 |
|
|
490 | 472 |
</xsl:template> |
491 | 473 |
|
492 | 474 |
|
493 | 475 |
<xsl:template match="nbits"> |
494 | 476 |
<xsl:param name="physicalfirstColStyle"/> |
495 | 477 |
<tr> |
496 |
<td class="{$firstColStyle}">Number of Bits (/pixel/band):</td>
|
|
497 |
<td class="{$secondColStyle}"> |
|
498 |
<xsl:value-of select="."/> |
|
499 |
</td> |
|
478 |
<td class="{$firstColStyle}">Number of Bits (/pixel/band)</td>
|
|
479 |
<td class="{$secondColStyle}">
|
|
480 |
<xsl:value-of select="."/>
|
|
481 |
</td>
|
|
500 | 482 |
</tr> |
501 | 483 |
</xsl:template> |
502 | 484 |
|
503 | 485 |
<xsl:template match="byteorder"> |
504 | 486 |
<xsl:param name="physicalfirstColStyle"/> |
505 | 487 |
<tr> |
506 |
<td class="{$firstColStyle}">Byte Order:</td>
|
|
507 |
<td class="{$secondColStyle}"> |
|
508 |
<xsl:value-of select="."/> |
|
509 |
</td> |
|
488 |
<td class="{$firstColStyle}">Byte Order</td>
|
|
489 |
<td class="{$secondColStyle}">
|
|
490 |
<xsl:value-of select="."/>
|
|
491 |
</td>
|
|
510 | 492 |
</tr> |
511 | 493 |
</xsl:template> |
512 | 494 |
|
513 | 495 |
<xsl:template match="skipbytes"> |
514 | 496 |
<xsl:param name="physicalfirstColStyle"/> |
515 | 497 |
<tr> |
516 |
<td class="{$firstColStyle}">Skipped Bytes:</td>
|
|
517 |
<td class="{$secondColStyle}"> |
|
518 |
<xsl:value-of select="."/> |
|
519 |
</td> |
|
498 |
<td class="{$firstColStyle}">Skipped Bytes</td>
|
|
499 |
<td class="{$secondColStyle}">
|
|
500 |
<xsl:value-of select="."/>
|
|
501 |
</td>
|
|
520 | 502 |
</tr> |
521 | 503 |
</xsl:template> |
522 | 504 |
|
523 | 505 |
<xsl:template match="bandrowbytes"> |
524 | 506 |
<xsl:param name="physicalfirstColStyle"/> |
525 | 507 |
<tr> |
526 |
<td class="{$firstColStyle}">Number of Bytes (/band/row):</td>
|
|
527 |
<td class="{$secondColStyle}"> |
|
528 |
<xsl:value-of select="."/> |
|
529 |
</td> |
|
508 |
<td class="{$firstColStyle}">Number of Bytes (/band/row)</td>
|
|
509 |
<td class="{$secondColStyle}">
|
|
510 |
<xsl:value-of select="."/>
|
|
511 |
</td>
|
|
530 | 512 |
</tr> |
531 | 513 |
</xsl:template> |
532 | 514 |
|
533 | 515 |
<xsl:template match="totalrowbytes"> |
534 | 516 |
<xsl:param name="physicalfirstColStyle"/> |
535 | 517 |
<tr> |
536 |
<td class="{$firstColStyle}">Total Number of Byte (/row):</td>
|
|
537 |
<td class="{$secondColStyle}"> |
|
538 |
<xsl:value-of select="."/> |
|
539 |
</td> |
|
518 |
<td class="{$firstColStyle}">Total Number of Byte (/row)</td>
|
|
519 |
<td class="{$secondColStyle}">
|
|
520 |
<xsl:value-of select="."/>
|
|
521 |
</td>
|
|
540 | 522 |
</tr> |
541 | 523 |
</xsl:template> |
542 | 524 |
|
543 | 525 |
<xsl:template match="bandgapbytes"> |
544 | 526 |
<xsl:param name="physicalfirstColStyle"/> |
545 | 527 |
<tr> |
546 |
<td class="{$firstColStyle}">Number of Bytes between Bands:</td>
|
|
547 |
<td class="{$secondColStyle}"> |
|
548 |
<xsl:value-of select="."/> |
|
549 |
</td> |
|
528 |
<td class="{$firstColStyle}">Number of Bytes between Bands</td>
|
|
529 |
<td class="{$secondColStyle}">
|
|
530 |
<xsl:value-of select="."/>
|
|
531 |
</td>
|
|
550 | 532 |
</tr> |
551 | 533 |
</xsl:template> |
552 | 534 |
|
Also available in: Unified diff
reformat physical/distribution/format sections of the entity display. https://projects.ecoinformatics.org/ecoinfo/issues/6037