Revision 1696
Added by Jing Tao almost 21 years ago
eml-physical-2.0.0.xsl | ||
---|---|---|
42 | 42 |
<xsl:param name="distributionindex"/> |
43 | 43 |
<xsl:param name="physicalfirstColStyle"/> |
44 | 44 |
<xsl:param name="notshowdistribution"/> |
45 |
<table class="tabledefault" width="100%"> |
|
45 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
46 | 46 |
<xsl:choose> |
47 | 47 |
<xsl:when test="references!=''"> |
48 | 48 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
123 | 123 |
<xsl:for-each select="objectName"> |
124 | 124 |
<tr> |
125 | 125 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
126 |
Object Name</td> |
|
126 |
Object Name:</td>
|
|
127 | 127 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
128 | 128 |
<xsl:value-of select="."/></td> |
129 | 129 |
</tr> |
... | ... | |
135 | 135 |
<xsl:for-each select="size"> |
136 | 136 |
<tr> |
137 | 137 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
138 |
Size</td> |
|
138 |
Size:</td>
|
|
139 | 139 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
140 | 140 |
<xsl:value-of select="."/></td> |
141 | 141 |
</tr> |
... | ... | |
147 | 147 |
<xsl:for-each select="authentication"> |
148 | 148 |
<tr> |
149 | 149 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
150 |
Authentication</td> |
|
150 |
Authentication:</td>
|
|
151 | 151 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
152 | 152 |
<xsl:value-of select="."/></td> |
153 | 153 |
</tr> |
... | ... | |
159 | 159 |
<xsl:for-each select="compressionMethod"> |
160 | 160 |
<tr> |
161 | 161 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
162 |
Compression Method</td> |
|
162 |
Compression Method:</td>
|
|
163 | 163 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
164 | 164 |
<xsl:value-of select="."/></td> |
165 | 165 |
</tr> |
... | ... | |
171 | 171 |
<xsl:for-each select="encodingMethod"> |
172 | 172 |
<tr> |
173 | 173 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
174 |
Encoding Method</td> |
|
174 |
Encoding Method:</td>
|
|
175 | 175 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
176 | 176 |
<xsl:value-of select="."/></td> |
177 | 177 |
</tr> |
... | ... | |
183 | 183 |
<xsl:for-each select="characterEncoding"> |
184 | 184 |
<tr> |
185 | 185 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
186 |
Character Encoding</td> |
|
186 |
Character Encoding:</td>
|
|
187 | 187 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
188 | 188 |
<xsl:value-of select="."/></td> |
189 | 189 |
</tr> |
... | ... | |
206 | 206 |
<xsl:apply-templates> |
207 | 207 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
208 | 208 |
</xsl:apply-templates> |
209 |
<tr> |
|
210 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
|
211 |
 </td> |
|
212 |
<td class="{$physicalfirstColStyle}" width="{$secondColWidth}"> |
|
213 |
 </td> |
|
214 |
</tr> |
|
209 |
|
|
215 | 210 |
</xsl:for-each> |
216 | 211 |
|
217 | 212 |
</xsl:template> |
... | ... | |
220 | 215 |
<xsl:template match="numHeaderLines"> |
221 | 216 |
<xsl:param name="physicalfirstColStyle"/> |
222 | 217 |
<tr> |
223 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines</td> |
|
218 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines:</td>
|
|
224 | 219 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
225 | 220 |
</tr> |
226 | 221 |
</xsl:template> |
... | ... | |
228 | 223 |
<xsl:template match="numFooterLines"> |
229 | 224 |
<xsl:param name="physicalfirstColStyle"/> |
230 | 225 |
<tr> |
231 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines</td> |
|
226 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines:</td>
|
|
232 | 227 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
233 | 228 |
</tr> |
234 | 229 |
</xsl:template> |
... | ... | |
236 | 231 |
<xsl:template match="recordDelimiter"> |
237 | 232 |
<xsl:param name="physicalfirstColStyle"/> |
238 | 233 |
<tr> |
239 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter</td> |
|
234 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter:</td>
|
|
240 | 235 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
241 | 236 |
</tr> |
242 | 237 |
</xsl:template> |
... | ... | |
244 | 239 |
<xsl:template match="physicalLineDelimiter"> |
245 | 240 |
<xsl:param name="physicalfirstColStyle"/> |
246 | 241 |
<tr> |
247 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter</td> |
|
242 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter:</td>
|
|
248 | 243 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
249 | 244 |
</tr> |
250 | 245 |
</xsl:template> |
... | ... | |
252 | 247 |
<xsl:template match="numPhysicalLinePerRecord"> |
253 | 248 |
<xsl:param name="physicalfirstColStyle"/> |
254 | 249 |
<tr> |
255 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record</td> |
|
250 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record:</td>
|
|
256 | 251 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
257 | 252 |
</tr> |
258 | 253 |
</xsl:template> |
... | ... | |
260 | 255 |
<xsl:template match="maxRecordLength"> |
261 | 256 |
<xsl:param name="physicalfirstColStyle"/> |
262 | 257 |
<tr> |
263 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length</td> |
|
258 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
|
|
264 | 259 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
265 | 260 |
</tr> |
266 | 261 |
</xsl:template> |
... | ... | |
268 | 263 |
<xsl:template match="attributeOrientation"> |
269 | 264 |
<xsl:param name="physicalfirstColStyle"/> |
270 | 265 |
<tr> |
271 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length</td> |
|
266 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
|
|
272 | 267 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
273 | 268 |
</tr> |
274 | 269 |
</xsl:template> |
... | ... | |
276 | 271 |
<xsl:template match="simpleDelimited"> |
277 | 272 |
<xsl:param name="physicalfirstColStyle"/> |
278 | 273 |
<tr> |
279 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited</td> |
|
274 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited:</td>
|
|
280 | 275 |
<td width="{$secondColWidth}"> |
281 |
<table width="100%"> |
|
276 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
282 | 277 |
<xsl:apply-templates> |
283 | 278 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
284 | 279 |
</xsl:apply-templates> |
... | ... | |
290 | 285 |
<xsl:template match="complex"> |
291 | 286 |
<xsl:param name="physicalfirstColStyle"/> |
292 | 287 |
<tr> |
293 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited</td> |
|
288 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited:</td>
|
|
294 | 289 |
<td width="{$secondColWidth}"> |
295 |
<table width="100%"> |
|
290 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
296 | 291 |
<xsl:call-template name="textFixed"> |
297 | 292 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
298 | 293 |
</xsl:call-template> |
... | ... | |
308 | 303 |
<xsl:template name="textFixed"> |
309 | 304 |
<xsl:param name="physicalfirstColStyle"/> |
310 | 305 |
<tr> |
311 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed</td> |
|
306 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed:</td>
|
|
312 | 307 |
<td width="{$secondColWidth}"> |
313 |
<table width="100%"> |
|
308 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
314 | 309 |
<xsl:apply-templates> |
315 | 310 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
316 | 311 |
</xsl:apply-templates> |
... | ... | |
322 | 317 |
<xsl:template name="textDelimited"> |
323 | 318 |
<xsl:param name="physicalfirstColStyle"/> |
324 | 319 |
<tr> |
325 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited</td> |
|
320 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited:</td>
|
|
326 | 321 |
<td width="{$secondColWidth}"> |
327 |
<table width="100%"> |
|
322 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
328 | 323 |
<xsl:apply-templates> |
329 | 324 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
330 | 325 |
</xsl:apply-templates> |
... | ... | |
336 | 331 |
<xsl:template match="quoteCharacter"> |
337 | 332 |
<xsl:param name="physicalfirstColStyle"/> |
338 | 333 |
<tr> |
339 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Quote Character</td> |
|
334 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Quote Character:</td>
|
|
340 | 335 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
341 | 336 |
</tr> |
342 | 337 |
</xsl:template> |
... | ... | |
344 | 339 |
<xsl:template match="literalCharacter"> |
345 | 340 |
<xsl:param name="physicalfirstColStyle"/> |
346 | 341 |
<tr> |
347 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character</td> |
|
342 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character:</td>
|
|
348 | 343 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
349 | 344 |
</tr> |
350 | 345 |
</xsl:template> |
... | ... | |
353 | 348 |
<xsl:template match="fieldDelimiter"> |
354 | 349 |
<xsl:param name="physicalfirstColStyle"/> |
355 | 350 |
<tr> |
356 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter</td> |
|
351 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter:</td>
|
|
357 | 352 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
358 | 353 |
</tr> |
359 | 354 |
</xsl:template> |
360 | 355 |
|
361 | 356 |
<xsl:template match="fieldWidth"> |
362 | 357 |
<xsl:param name="physicalfirstColStyle"/> |
363 |
<tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width</td> |
|
358 |
<tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width:</td>
|
|
364 | 359 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
365 | 360 |
</tr> |
366 | 361 |
</xsl:template> |
367 | 362 |
|
368 | 363 |
<xsl:template match="lineNumber"> |
369 | 364 |
<xsl:param name="physicalfirstColStyle"/> |
370 |
<tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number</td> |
|
365 |
<tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number:</td>
|
|
371 | 366 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
372 | 367 |
</tr> |
373 | 368 |
</xsl:template> |
... | ... | |
375 | 370 |
<xsl:template match="fieldStartColumn"> |
376 | 371 |
<xsl:param name="physicalfirstColStyle"/> |
377 | 372 |
<tr> |
378 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column</td> |
|
373 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column:</td>
|
|
379 | 374 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
380 | 375 |
</tr> |
381 | 376 |
</xsl:template> |
... | ... | |
396 | 391 |
<xsl:apply-templates> |
397 | 392 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
398 | 393 |
</xsl:apply-templates> |
399 |
<tr> |
|
400 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
|
401 |
 </td> |
|
402 |
<td class="{$physicalfirstColStyle}" width="{$secondColWidth}"> |
|
403 |
 </td> |
|
404 |
</tr> |
|
405 |
</xsl:for-each> |
|
394 |
</xsl:for-each> |
|
406 | 395 |
</xsl:template> |
407 | 396 |
|
408 | 397 |
<xsl:template match="formatName"> |
409 | 398 |
<xsl:param name="physicalfirstColStyle"/> |
410 | 399 |
<tr> |
411 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Format Name</td> |
|
400 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Format Name:</td>
|
|
412 | 401 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
413 | 402 |
</tr> |
414 | 403 |
</xsl:template> |
... | ... | |
416 | 405 |
<xsl:template match="formatVersion"> |
417 | 406 |
<xsl:param name="physicalfirstColStyle"/> |
418 | 407 |
<tr> |
419 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Format Version</td> |
|
408 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Format Version:</td>
|
|
420 | 409 |
<td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td> |
421 | 410 |
</tr> |
422 | 411 |
</xsl:template> |
... | ... | |
424 | 413 |
<xsl:template match="citation"> |
425 | 414 |
<xsl:param name="physicalfirstColStyle"/> |
426 | 415 |
<tr> |
427 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Citation</td> |
|
416 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Citation:</td>
|
|
428 | 417 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
429 | 418 |
<xsl:call-template name="citation"> |
430 | 419 |
<xsl:with-param name="citationfirstColStyle" select="physicalfirstColStyle"/> |
... | ... | |
448 | 437 |
<xsl:apply-templates> |
449 | 438 |
<xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/> |
450 | 439 |
</xsl:apply-templates> |
451 |
<tr> |
|
452 |
<td class="{$physicalfirstColStyle}" width="{$firstColWidth}"> |
|
453 |
 </td> |
|
454 |
<td class="{$physicalfirstColStyle}" width="{$secondColWidth}"> |
|
455 |
 </td> |
|
456 |
</tr> |
|
457 |
</xsl:for-each> |
|
440 |
</xsl:for-each> |
|
458 | 441 |
</xsl:template> |
459 | 442 |
|
460 | 443 |
<xsl:template match="rowColumnOrientation"> |
461 | 444 |
<xsl:param name="physicalfirstColStyle"/> |
462 | 445 |
<tr> |
463 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Orientation</td> |
|
446 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Orientation:</td>
|
|
464 | 447 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
465 | 448 |
<xsl:value-of select="."/> |
466 | 449 |
</td> |
... | ... | |
470 | 453 |
<xsl:template match="multiBand"> |
471 | 454 |
<xsl:param name="physicalfirstColStyle"/> |
472 | 455 |
<tr> |
473 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands</td> |
|
456 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands:</td>
|
|
474 | 457 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
475 |
<table width="100%"> |
|
458 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
476 | 459 |
<tr> |
477 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands</td> |
|
460 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands:</td>
|
|
478 | 461 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
479 | 462 |
<xsl:value-of select="./nbands"/> |
480 | 463 |
</td> |
481 | 464 |
</tr> |
482 | 465 |
<tr> |
483 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Layout</td> |
|
466 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Layout:</td>
|
|
484 | 467 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
485 | 468 |
<xsl:value-of select="./layout"/> |
486 | 469 |
</td> |
... | ... | |
494 | 477 |
<xsl:template match="nbits"> |
495 | 478 |
<xsl:param name="physicalfirstColStyle"/> |
496 | 479 |
<tr> |
497 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band)</td> |
|
480 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band):</td>
|
|
498 | 481 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
499 | 482 |
<xsl:value-of select="."/> |
500 | 483 |
</td> |
... | ... | |
504 | 487 |
<xsl:template match="byteorder"> |
505 | 488 |
<xsl:param name="physicalfirstColStyle"/> |
506 | 489 |
<tr> |
507 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order</td> |
|
490 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order:</td>
|
|
508 | 491 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
509 | 492 |
<xsl:value-of select="."/> |
510 | 493 |
</td> |
... | ... | |
514 | 497 |
<xsl:template match="skipbytes"> |
515 | 498 |
<xsl:param name="physicalfirstColStyle"/> |
516 | 499 |
<tr> |
517 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes</td> |
|
500 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes:</td>
|
|
518 | 501 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
519 | 502 |
<xsl:value-of select="."/> |
520 | 503 |
</td> |
... | ... | |
524 | 507 |
<xsl:template match="bandrowbytes"> |
525 | 508 |
<xsl:param name="physicalfirstColStyle"/> |
526 | 509 |
<tr> |
527 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row)</td> |
|
510 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row):</td>
|
|
528 | 511 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
529 | 512 |
<xsl:value-of select="."/> |
530 | 513 |
</td> |
... | ... | |
534 | 517 |
<xsl:template match="totalrowbytes"> |
535 | 518 |
<xsl:param name="physicalfirstColStyle"/> |
536 | 519 |
<tr> |
537 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row)</td> |
|
520 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row):</td>
|
|
538 | 521 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
539 | 522 |
<xsl:value-of select="."/> |
540 | 523 |
</td> |
... | ... | |
544 | 527 |
<xsl:template match="bandgapbytes"> |
545 | 528 |
<xsl:param name="physicalfirstColStyle"/> |
546 | 529 |
<tr> |
547 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands</td> |
|
530 |
<td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands:</td>
|
|
548 | 531 |
<td class="{$secondColStyle}" width="{$secondColWidth}"> |
549 | 532 |
<xsl:value-of select="."/> |
550 | 533 |
</td> |
Also available in: Unified diff
Make table cellspacing=0 and fixed some bugs.