Project

General

Profile

1 553 tao
<?xml version="1.0"?>
2
<!--
3
  *  '$RCSfile$'
4
  *      Authors: Matthew Brooke
5
  *    Copyright: 2000 Regents of the University of California and the
6
  *               National Center for Ecological Analysis and Synthesis
7
  *  For Details: http://www.nceas.ucsb.edu/
8
  *
9
  *   '$Author$'
10
  *     '$Date$'
11
  * '$Revision$'
12
  *
13
  * This program is free software; you can redistribute it and/or modify
14
  * it under the terms of the GNU General Public License as published by
15
  * the Free Software Foundation; either version 2 of the License, or
16
  * (at your option) any later version.
17
  *
18
  * This program is distributed in the hope that it will be useful,
19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
  * GNU General Public License for more details.
22
  *
23
  * You should have received a copy of the GNU General Public License
24
  * along with this program; if not, write to the Free Software
25
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
  *
27
  * This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
28
  * convert an XML file that is valid with respect to the eml-variable.dtd
29
  * module of the Ecological Metadata Language (EML) into an HTML format
30
  * suitable for rendering with modern web browsers.
31
-->
32
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
33
34
  <xsl:output method="html" encoding="iso-8859-1"/>
35
36 1645 tao
   <xsl:template name="physical">
37 1653 tao
      <xsl:param name="docid"/>
38
      <xsl:param name="level">entity</xsl:param>
39
      <xsl:param name="entitytype"/>
40
      <xsl:param name="entityindex"/>
41
      <xsl:param name="physicalindex"/>
42
      <xsl:param name="distributionindex"/>
43 1645 tao
      <xsl:param name="physicalfirstColStyle"/>
44
      <xsl:param name="notshowdistribution"/>
45 1696 tao
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
46 1645 tao
        <xsl:choose>
47
         <xsl:when test="references!=''">
48
          <xsl:variable name="ref_id" select="references"/>
49
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
50
          <xsl:for-each select="$references">
51
            <xsl:call-template name="physicalcommon">
52
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
53
              <xsl:with-param name="notshowdistribution" select="$notshowdistribution"/>
54
            </xsl:call-template>
55
          </xsl:for-each>
56
        </xsl:when>
57
        <xsl:otherwise>
58
          <xsl:call-template name="physicalcommon">
59
             <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
60
             <xsl:with-param name="notshowdistribution" select="$notshowdistribution"/>
61
          </xsl:call-template>
62
        </xsl:otherwise>
63
      </xsl:choose>
64
      </table>
65 553 tao
  </xsl:template>
66 1645 tao
67
  <xsl:template name="physicalcommon">
68
    <xsl:param name="physicalfirstColStyle"/>
69
    <xsl:param name="notshowdistribution"/>
70 1653 tao
    <xsl:param name="docid"/>
71
    <xsl:param name="level">entity</xsl:param>
72
    <xsl:param name="entitytype"/>
73
    <xsl:param name="entityindex"/>
74
    <xsl:param name="physicalindex"/>
75
    <xsl:param name="distributionindex"/>
76
77 1645 tao
    <xsl:call-template name="physicalobjectName">
78
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
79
    </xsl:call-template>
80
    <xsl:call-template name="physicalsize">
81
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
82
    </xsl:call-template>
83
    <xsl:call-template name="physicalauthentication">
84
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
85
    </xsl:call-template>
86
    <xsl:call-template name="physicalcompressionMethod">
87
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
88
    </xsl:call-template>
89
    <xsl:call-template name="physicalencodingMethod">
90
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
91
    </xsl:call-template>
92
    <xsl:call-template name="physicalcharacterEncoding">
93
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
94
    </xsl:call-template>
95
    <xsl:call-template name="physicaltextFormat">
96
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
97
    </xsl:call-template>
98 1648 tao
    <xsl:call-template name="physicalexternallyDefinedFormat">
99
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
100
    </xsl:call-template>
101
    <xsl:call-template name="physicalbinaryRasterFormat">
102
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
103
    </xsl:call-template>
104
    <xsl:if test="$notshowdistribution=''">
105 1653 tao
      <xsl:for-each select="distribution">
106
        <xsl:call-template name="distribution">
107
          <xsl:with-param name="disfirstColStyle" select="$physicalfirstColStyle"/>
108 1654 tao
          <xsl:with-param name="dissubHeaderStyle" select="$subHeaderStyle"/>
109
          <xsl:with-param name="docid" select="$docid"/>
110
          <xsl:with-param name="level">entitylevel</xsl:with-param>
111
          <xsl:with-param name="entitytype" select="$entitytype"/>
112
          <xsl:with-param name="entityindex" select="$entityindex"/>
113
          <xsl:with-param name="physicalindex" select="$physicalindex"/>
114
          <xsl:with-param name="distributionindex" select="position()"/>
115 1653 tao
        </xsl:call-template>
116
      </xsl:for-each>
117 1648 tao
    </xsl:if>
118 1653 tao
119 1645 tao
  </xsl:template>
120
121
  <xsl:template name="physicalobjectName">
122
    <xsl:param name="physicalfirstColStyle"/>
123
    <xsl:for-each select="objectName">
124
      <tr>
125
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
126 1696 tao
        Object Name:</td>
127 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
128
        <xsl:value-of select="."/></td>
129
      </tr>
130
    </xsl:for-each>
131
  </xsl:template>
132
133
  <xsl:template name="physicalsize">
134
    <xsl:param name="physicalfirstColStyle"/>
135
    <xsl:for-each select="size">
136
      <tr>
137
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
138 1696 tao
        Size:</td>
139 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
140 1732 tao
        <xsl:value-of select="."/><xsl:text> </xsl:text><xsl:value-of select="./@unit"/></td>
141 1645 tao
      </tr>
142
    </xsl:for-each>
143
  </xsl:template>
144
145
  <xsl:template name="physicalauthentication">
146
    <xsl:param name="physicalfirstColStyle"/>
147
    <xsl:for-each select="authentication">
148
      <tr>
149
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
150 1696 tao
        Authentication:</td>
151 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
152 1732 tao
          <xsl:value-of select="."/><xsl:text> </xsl:text>
153
          <xsl:if test="./@method">
154
            Caculated By<xsl:text> </xsl:text><xsl:value-of select="./@method"/>
155
          </xsl:if>
156
        </td>
157 1645 tao
      </tr>
158
    </xsl:for-each>
159
  </xsl:template>
160
161
  <xsl:template name="physicalcompressionMethod">
162
    <xsl:param name="physicalfirstColStyle"/>
163
    <xsl:for-each select="compressionMethod">
164
      <tr>
165
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
166 1696 tao
        Compression Method:</td>
167 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
168
        <xsl:value-of select="."/></td>
169
      </tr>
170
    </xsl:for-each>
171
  </xsl:template>
172
173
  <xsl:template name="physicalencodingMethod">
174
    <xsl:param name="physicalfirstColStyle"/>
175
    <xsl:for-each select="encodingMethod">
176
      <tr>
177
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
178 1696 tao
        Encoding Method:</td>
179 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
180
        <xsl:value-of select="."/></td>
181
      </tr>
182
    </xsl:for-each>
183
  </xsl:template>
184
185
  <xsl:template name="physicalcharacterEncoding">
186
    <xsl:param name="physicalfirstColStyle"/>
187
    <xsl:for-each select="characterEncoding">
188
      <tr>
189
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
190 1696 tao
        Character Encoding:</td>
191 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
192
        <xsl:value-of select="."/></td>
193
      </tr>
194
    </xsl:for-each>
195
  </xsl:template>
196
197
  <!--***********************************************************
198
      TextFormat templates
199
      ***********************************************************-->
200
201
  <xsl:template name="physicaltextFormat">
202
   <xsl:param name="physicalfirstColStyle"/>
203
   <xsl:for-each select="dataFormat/textFormat">
204
      <tr>
205
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
206
        Text Format:</td>
207 1706 tao
        <td width="{$secondColWidth}">
208
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault">
209
            <xsl:apply-templates>
210
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
211
            </xsl:apply-templates>
212
          </table>
213
        </td>
214 1645 tao
      </tr>
215 1706 tao
216 1645 tao
   </xsl:for-each>
217
218
  </xsl:template>
219
220 553 tao
221 1645 tao
  <xsl:template match="numHeaderLines">
222
        <xsl:param name="physicalfirstColStyle"/>
223 553 tao
        <tr>
224 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines:</td>
225 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
226
        </tr>
227
  </xsl:template>
228
229 1645 tao
  <xsl:template match="numFooterLines">
230
        <xsl:param name="physicalfirstColStyle"/>
231 553 tao
        <tr>
232 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines:</td>
233 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
234
        </tr>
235
  </xsl:template>
236 1645 tao
237
  <xsl:template match="recordDelimiter">
238
        <xsl:param name="physicalfirstColStyle"/>
239 553 tao
        <tr>
240 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter:</td>
241 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
242 553 tao
        </tr>
243
  </xsl:template>
244 1645 tao
245
  <xsl:template match="physicalLineDelimiter">
246
        <xsl:param name="physicalfirstColStyle"/>
247 553 tao
        <tr>
248 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter:</td>
249 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
250
        </tr>
251 553 tao
  </xsl:template>
252 1645 tao
253
  <xsl:template match="numPhysicalLinePerRecord">
254
        <xsl:param name="physicalfirstColStyle"/>
255 553 tao
        <tr>
256 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record:</td>
257 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
258
        </tr>
259
  </xsl:template>
260 1645 tao
261
  <xsl:template match="maxRecordLength">
262
        <xsl:param name="physicalfirstColStyle"/>
263 553 tao
        <tr>
264 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
265 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
266
        </tr>
267
  </xsl:template>
268 1645 tao
269
  <xsl:template match="attributeOrientation">
270
        <xsl:param name="physicalfirstColStyle"/>
271 553 tao
        <tr>
272 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
273 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
274
        </tr>
275
  </xsl:template>
276 1645 tao
277
  <xsl:template match="simpleDelimited">
278
        <xsl:param name="physicalfirstColStyle"/>
279 553 tao
        <tr>
280 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited:</td>
281 1645 tao
        <td  width="{$secondColWidth}">
282 1696 tao
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
283 1645 tao
            <xsl:apply-templates>
284
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
285
            </xsl:apply-templates>
286
          </table>
287
        </td>
288 553 tao
        </tr>
289
  </xsl:template>
290 1645 tao
291
  <xsl:template match="complex">
292
        <xsl:param name="physicalfirstColStyle"/>
293 553 tao
        <tr>
294 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited:</td>
295 1645 tao
        <td  width="{$secondColWidth}">
296 1696 tao
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
297 1645 tao
             <xsl:call-template name="textFixed">
298
                <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
299
             </xsl:call-template>
300
             <xsl:call-template name="textDelimited">
301
               <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
302
             </xsl:call-template>
303
           </table>
304
         </td>
305 553 tao
        </tr>
306
  </xsl:template>
307 1645 tao
308
309
  <xsl:template name="textFixed">
310
        <xsl:param name="physicalfirstColStyle"/>
311
        <tr>
312 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed:</td>
313 1645 tao
        <td  width="{$secondColWidth}">
314 1696 tao
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
315 1645 tao
            <xsl:apply-templates>
316
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
317
            </xsl:apply-templates>
318
          </table>
319
        </td>
320
        </tr>
321
  </xsl:template>
322
323
  <xsl:template name="textDelimited">
324
        <xsl:param name="physicalfirstColStyle"/>
325
        <tr>
326 1696 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited:</td>
327 1645 tao
        <td  width="{$secondColWidth}">
328 1696 tao
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
329 1645 tao
            <xsl:apply-templates>
330
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
331
            </xsl:apply-templates>
332
          </table>
333
        </td>
334
        </tr>
335
  </xsl:template>
336 553 tao
337
  <xsl:template match="quoteCharacter">
338 1645 tao
        <xsl:param name="physicalfirstColStyle"/>
339 553 tao
        <tr>
340 1732 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Quote Character:</td>
341 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
342
        </tr>
343
  </xsl:template>
344
345
   <xsl:template match="literalCharacter">
346 1645 tao
       <xsl:param name="physicalfirstColStyle"/>
347 553 tao
       <tr>
348 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character:</td>
349 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
350
        </tr>
351
  </xsl:template>
352
353 1645 tao
354
  <xsl:template match="fieldDelimiter">
355
        <xsl:param name="physicalfirstColStyle"/>
356 553 tao
        <tr>
357 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter:</td>
358 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
359
        </tr>
360
  </xsl:template>
361
362 1645 tao
  <xsl:template match="fieldWidth">
363
        <xsl:param name="physicalfirstColStyle"/>
364 1696 tao
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width:</td>
365 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
366
        </tr>
367
  </xsl:template>
368
369
  <xsl:template match="lineNumber">
370
        <xsl:param name="physicalfirstColStyle"/>
371 1696 tao
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number:</td>
372 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
373
        </tr>
374
  </xsl:template>
375 553 tao
376 1645 tao
  <xsl:template match="fieldStartColumn">
377
        <xsl:param name="physicalfirstColStyle"/>
378 553 tao
        <tr>
379 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column:</td>
380 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
381
        </tr>
382
  </xsl:template>
383 1645 tao
384
385
  <!--***********************************************************
386
      externallyDefinedFormat templates
387
      ***********************************************************-->
388
 <xsl:template name="physicalexternallyDefinedFormat">
389
    <xsl:param name="physicalfirstColStyle"/>
390
    <xsl:for-each select="dataFormat/externallyDefinedFormat">
391
      <tr>
392
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
393
        Externally Defined Format:</td>
394 1706 tao
        <td width="{$secondColWidth}">
395
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault">
396
            <xsl:apply-templates>
397
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
398
            </xsl:apply-templates>
399
          </table>
400
        </td>
401 1645 tao
      </tr>
402 1706 tao
    </xsl:for-each>
403 1645 tao
  </xsl:template>
404
405
  <xsl:template match="formatName">
406
        <xsl:param name="physicalfirstColStyle"/>
407
        <tr>
408 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Name:</td>
409 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
410
        </tr>
411
  </xsl:template>
412 1645 tao
413
  <xsl:template match="formatVersion">
414
        <xsl:param name="physicalfirstColStyle"/>
415
        <tr>
416 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Version:</td>
417 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
418
        </tr>
419
  </xsl:template>
420
421
  <xsl:template match="citation">
422
        <xsl:param name="physicalfirstColStyle"/>
423
        <tr>
424 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Citation:</td>
425 1706 tao
        <td class="{$secondColStyle}">
426 1645 tao
          <xsl:call-template name="citation">
427
            <xsl:with-param name="citationfirstColStyle" select="physicalfirstColStyle"/>
428
          </xsl:call-template>
429
        </td>
430
        </tr>
431
  </xsl:template>
432
433
  <!--***********************************************************
434
      binaryRasterFormat templates
435
      ***********************************************************-->
436
  <xsl:template name="physicalbinaryRasterFormat">
437
    <xsl:param name="physicalfirstColStyle"/>
438
    <xsl:for-each select="dataFormat/binaryRasterFormat">
439
      <tr>
440
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
441
        Binary Raster Format:</td>
442 1706 tao
        <td width="{$secondColWidth}">
443
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault">
444
             <xsl:apply-templates>
445
               <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
446
             </xsl:apply-templates>
447
           </table>
448
        </td>
449 1645 tao
      </tr>
450 1706 tao
451 1696 tao
   </xsl:for-each>
452 1645 tao
  </xsl:template>
453
454
  <xsl:template match="rowColumnOrientation">
455
        <xsl:param name="physicalfirstColStyle"/>
456
        <tr>
457 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Orientation:</td>
458 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
459
          <xsl:value-of select="."/>
460
        </td>
461
        </tr>
462
  </xsl:template>
463
464
  <xsl:template match="multiBand">
465
        <xsl:param name="physicalfirstColStyle"/>
466
        <tr>
467 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands:</td>
468 1706 tao
        <td class="{$secondColStyle}">
469 1696 tao
         <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
470 1645 tao
            <tr>
471 1696 tao
                <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands:</td>
472 1645 tao
                <td class="{$secondColStyle}" width="{$secondColWidth}">
473
                <xsl:value-of select="./nbands"/>
474
              </td>
475
            </tr>
476
            <tr>
477 1696 tao
               <td class="{$firstColStyle}" width="{$firstColWidth}">Layout:</td>
478 1645 tao
               <td class="{$secondColStyle}" width="{$secondColWidth}">
479
               <xsl:value-of select="./layout"/>
480
               </td>
481
           </tr>
482
        </table>
483
        </td>
484
        </tr>
485
  </xsl:template>
486
487
488
  <xsl:template match="nbits">
489
        <xsl:param name="physicalfirstColStyle"/>
490
        <tr>
491 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band):</td>
492 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
493
          <xsl:value-of select="."/>
494
        </td>
495
        </tr>
496
  </xsl:template>
497
498
  <xsl:template match="byteorder">
499
        <xsl:param name="physicalfirstColStyle"/>
500
        <tr>
501 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order:</td>
502 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
503
          <xsl:value-of select="."/>
504
        </td>
505
        </tr>
506
  </xsl:template>
507
508
  <xsl:template match="skipbytes">
509
        <xsl:param name="physicalfirstColStyle"/>
510
        <tr>
511 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes:</td>
512 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
513
          <xsl:value-of select="."/>
514
        </td>
515
        </tr>
516
  </xsl:template>
517
518
  <xsl:template match="bandrowbytes">
519
        <xsl:param name="physicalfirstColStyle"/>
520
        <tr>
521 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row):</td>
522 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
523
          <xsl:value-of select="."/>
524
        </td>
525
        </tr>
526
  </xsl:template>
527
528
  <xsl:template match="totalrowbytes">
529
        <xsl:param name="physicalfirstColStyle"/>
530
        <tr>
531 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row):</td>
532 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
533
          <xsl:value-of select="."/>
534
        </td>
535
        </tr>
536
  </xsl:template>
537
538
  <xsl:template match="bandgapbytes">
539
        <xsl:param name="physicalfirstColStyle"/>
540
        <tr>
541 1696 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands:</td>
542 1645 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}">
543
          <xsl:value-of select="."/>
544
        </td>
545
        </tr>
546
  </xsl:template>
547
548 553 tao
</xsl:stylesheet>