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
      <table class="tabledefault" width="100%">
46
        <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
        Object Name</td>
127
        <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
        Size</td>
139
        <td class="{$secondColStyle}" width="{$secondColWidth}">
140
        <xsl:value-of select="."/></td>
141
      </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
        Authentication</td>
151
        <td class="{$secondColStyle}" width="{$secondColWidth}">
152
        <xsl:value-of select="."/></td>
153
      </tr>
154
    </xsl:for-each>
155
  </xsl:template>
156
157
  <xsl:template name="physicalcompressionMethod">
158
    <xsl:param name="physicalfirstColStyle"/>
159
    <xsl:for-each select="compressionMethod">
160
      <tr>
161
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
162
        Compression Method</td>
163
        <td class="{$secondColStyle}" width="{$secondColWidth}">
164
        <xsl:value-of select="."/></td>
165
      </tr>
166
    </xsl:for-each>
167
  </xsl:template>
168
169
  <xsl:template name="physicalencodingMethod">
170
    <xsl:param name="physicalfirstColStyle"/>
171
    <xsl:for-each select="encodingMethod">
172
      <tr>
173
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
174
        Encoding Method</td>
175
        <td class="{$secondColStyle}" width="{$secondColWidth}">
176
        <xsl:value-of select="."/></td>
177
      </tr>
178
    </xsl:for-each>
179
  </xsl:template>
180
181
  <xsl:template name="physicalcharacterEncoding">
182
    <xsl:param name="physicalfirstColStyle"/>
183
    <xsl:for-each select="characterEncoding">
184
      <tr>
185
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
186
        Character Encoding</td>
187
        <td class="{$secondColStyle}" width="{$secondColWidth}">
188
        <xsl:value-of select="."/></td>
189
      </tr>
190
    </xsl:for-each>
191
  </xsl:template>
192
193
  <!--***********************************************************
194
      TextFormat templates
195
      ***********************************************************-->
196
197
  <xsl:template name="physicaltextFormat">
198
   <xsl:param name="physicalfirstColStyle"/>
199
   <xsl:for-each select="dataFormat/textFormat">
200
      <tr>
201
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
202
        Text Format:</td>
203
        <td class="{$physicalfirstColStyle}" width="{$secondColWidth}">
204
        &#160;</td>
205
      </tr>
206
      <xsl:apply-templates>
207
        <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
208
      </xsl:apply-templates>
209
      <tr>
210
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
211
        &#160;</td>
212
        <td class="{$physicalfirstColStyle}" width="{$secondColWidth}">
213
        &#160;</td>
214
      </tr>
215
   </xsl:for-each>
216
217
  </xsl:template>
218
219 553 tao
220 1645 tao
  <xsl:template match="numHeaderLines">
221
        <xsl:param name="physicalfirstColStyle"/>
222 553 tao
        <tr>
223 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines</td>
224 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
225
        </tr>
226
  </xsl:template>
227
228 1645 tao
  <xsl:template match="numFooterLines">
229
        <xsl:param name="physicalfirstColStyle"/>
230 553 tao
        <tr>
231 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines</td>
232 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
233
        </tr>
234
  </xsl:template>
235 1645 tao
236
  <xsl:template match="recordDelimiter">
237
        <xsl:param name="physicalfirstColStyle"/>
238 553 tao
        <tr>
239 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter</td>
240
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
241 553 tao
        </tr>
242
  </xsl:template>
243 1645 tao
244
  <xsl:template match="physicalLineDelimiter">
245
        <xsl:param name="physicalfirstColStyle"/>
246 553 tao
        <tr>
247 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter</td>
248
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
249
        </tr>
250 553 tao
  </xsl:template>
251 1645 tao
252
  <xsl:template match="numPhysicalLinePerRecord">
253
        <xsl:param name="physicalfirstColStyle"/>
254 553 tao
        <tr>
255 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record</td>
256 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
257
        </tr>
258
  </xsl:template>
259 1645 tao
260
  <xsl:template match="maxRecordLength">
261
        <xsl:param name="physicalfirstColStyle"/>
262 553 tao
        <tr>
263 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length</td>
264 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
265
        </tr>
266
  </xsl:template>
267 1645 tao
268
  <xsl:template match="attributeOrientation">
269
        <xsl:param name="physicalfirstColStyle"/>
270 553 tao
        <tr>
271 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length</td>
272 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
273
        </tr>
274
  </xsl:template>
275 1645 tao
276
  <xsl:template match="simpleDelimited">
277
        <xsl:param name="physicalfirstColStyle"/>
278 553 tao
        <tr>
279 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited</td>
280
        <td  width="{$secondColWidth}">
281
          <table width="100%">
282
            <xsl:apply-templates>
283
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
284
            </xsl:apply-templates>
285
          </table>
286
        </td>
287 553 tao
        </tr>
288
  </xsl:template>
289 1645 tao
290
  <xsl:template match="complex">
291
        <xsl:param name="physicalfirstColStyle"/>
292 553 tao
        <tr>
293 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited</td>
294
        <td  width="{$secondColWidth}">
295
           <table width="100%">
296
             <xsl:call-template name="textFixed">
297
                <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
298
             </xsl:call-template>
299
             <xsl:call-template name="textDelimited">
300
               <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
301
             </xsl:call-template>
302
           </table>
303
         </td>
304 553 tao
        </tr>
305
  </xsl:template>
306 1645 tao
307
308
  <xsl:template name="textFixed">
309
        <xsl:param name="physicalfirstColStyle"/>
310
        <tr>
311
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed</td>
312
        <td  width="{$secondColWidth}">
313
          <table width="100%">
314
            <xsl:apply-templates>
315
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
316
            </xsl:apply-templates>
317
          </table>
318
        </td>
319
        </tr>
320
  </xsl:template>
321
322
  <xsl:template name="textDelimited">
323
        <xsl:param name="physicalfirstColStyle"/>
324
        <tr>
325
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited</td>
326
        <td  width="{$secondColWidth}">
327
          <table width="100%">
328
            <xsl:apply-templates>
329
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
330
            </xsl:apply-templates>
331
          </table>
332
        </td>
333
        </tr>
334
  </xsl:template>
335 553 tao
336
  <xsl:template match="quoteCharacter">
337 1645 tao
        <xsl:param name="physicalfirstColStyle"/>
338 553 tao
        <tr>
339 1645 tao
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Quote Character</td>
340 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
341
        </tr>
342
  </xsl:template>
343
344
   <xsl:template match="literalCharacter">
345 1645 tao
       <xsl:param name="physicalfirstColStyle"/>
346 553 tao
       <tr>
347
        <td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character</td>
348
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
349
        </tr>
350
  </xsl:template>
351
352 1645 tao
353
  <xsl:template match="fieldDelimiter">
354
        <xsl:param name="physicalfirstColStyle"/>
355 553 tao
        <tr>
356 1645 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter</td>
357 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
358
        </tr>
359
  </xsl:template>
360
361 1645 tao
  <xsl:template match="fieldWidth">
362
        <xsl:param name="physicalfirstColStyle"/>
363
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width</td>
364
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
365
        </tr>
366
  </xsl:template>
367
368
  <xsl:template match="lineNumber">
369
        <xsl:param name="physicalfirstColStyle"/>
370
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number</td>
371
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
372
        </tr>
373
  </xsl:template>
374 553 tao
375 1645 tao
  <xsl:template match="fieldStartColumn">
376
        <xsl:param name="physicalfirstColStyle"/>
377 553 tao
        <tr>
378 1645 tao
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column</td>
379 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
380
        </tr>
381
  </xsl:template>
382 1645 tao
383
384
  <!--***********************************************************
385
      externallyDefinedFormat templates
386
      ***********************************************************-->
387
 <xsl:template name="physicalexternallyDefinedFormat">
388
    <xsl:param name="physicalfirstColStyle"/>
389
    <xsl:for-each select="dataFormat/externallyDefinedFormat">
390
      <tr>
391
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
392
        Externally Defined Format:</td>
393
        <td class="{$physicalfirstColStyle}" width="{$secondColWidth}">
394
        &#160;</td>
395
      </tr>
396
      <xsl:apply-templates>
397
        <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
398
      </xsl:apply-templates>
399
      <tr>
400
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
401
        &#160;</td>
402
        <td class="{$physicalfirstColStyle}" width="{$secondColWidth}">
403
        &#160;</td>
404
      </tr>
405
    </xsl:for-each>
406
  </xsl:template>
407
408
  <xsl:template match="formatName">
409
        <xsl:param name="physicalfirstColStyle"/>
410
        <tr>
411
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Name</td>
412 553 tao
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
413
        </tr>
414
  </xsl:template>
415 1645 tao
416
  <xsl:template match="formatVersion">
417
        <xsl:param name="physicalfirstColStyle"/>
418
        <tr>
419
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Version</td>
420
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
421
        </tr>
422
  </xsl:template>
423
424
  <xsl:template match="citation">
425
        <xsl:param name="physicalfirstColStyle"/>
426
        <tr>
427
        <td class="{$firstColStyle}" width="{$firstColWidth}">Citation</td>
428
        <td class="{$secondColStyle}" width="{$secondColWidth}">
429
          <xsl:call-template name="citation">
430
            <xsl:with-param name="citationfirstColStyle" select="physicalfirstColStyle"/>
431
          </xsl:call-template>
432
        </td>
433
        </tr>
434
  </xsl:template>
435
436
  <!--***********************************************************
437
      binaryRasterFormat templates
438
      ***********************************************************-->
439
  <xsl:template name="physicalbinaryRasterFormat">
440
    <xsl:param name="physicalfirstColStyle"/>
441
    <xsl:for-each select="dataFormat/binaryRasterFormat">
442
      <tr>
443
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
444
        Binary Raster Format:</td>
445
        <td class="{$physicalfirstColStyle}" width="{$secondColWidth}">
446
        &#160;</td>
447
      </tr>
448
      <xsl:apply-templates>
449
        <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
450
      </xsl:apply-templates>
451
      <tr>
452
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
453
        &#160;</td>
454
        <td class="{$physicalfirstColStyle}" width="{$secondColWidth}">
455
        &#160;</td>
456
      </tr>
457
    </xsl:for-each>
458
  </xsl:template>
459
460
  <xsl:template match="rowColumnOrientation">
461
        <xsl:param name="physicalfirstColStyle"/>
462
        <tr>
463
        <td class="{$firstColStyle}" width="{$firstColWidth}">Orientation</td>
464
        <td class="{$secondColStyle}" width="{$secondColWidth}">
465
          <xsl:value-of select="."/>
466
        </td>
467
        </tr>
468
  </xsl:template>
469
470
  <xsl:template match="multiBand">
471
        <xsl:param name="physicalfirstColStyle"/>
472
        <tr>
473
        <td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands</td>
474
        <td class="{$secondColStyle}" width="{$secondColWidth}">
475
         <table width="100%">
476
            <tr>
477
                <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands</td>
478
                <td class="{$secondColStyle}" width="{$secondColWidth}">
479
                <xsl:value-of select="./nbands"/>
480
              </td>
481
            </tr>
482
            <tr>
483
               <td class="{$firstColStyle}" width="{$firstColWidth}">Layout</td>
484
               <td class="{$secondColStyle}" width="{$secondColWidth}">
485
               <xsl:value-of select="./layout"/>
486
               </td>
487
           </tr>
488
        </table>
489
        </td>
490
        </tr>
491
  </xsl:template>
492
493
494
  <xsl:template match="nbits">
495
        <xsl:param name="physicalfirstColStyle"/>
496
        <tr>
497
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band)</td>
498
        <td class="{$secondColStyle}" width="{$secondColWidth}">
499
          <xsl:value-of select="."/>
500
        </td>
501
        </tr>
502
  </xsl:template>
503
504
  <xsl:template match="byteorder">
505
        <xsl:param name="physicalfirstColStyle"/>
506
        <tr>
507
        <td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order</td>
508
        <td class="{$secondColStyle}" width="{$secondColWidth}">
509
          <xsl:value-of select="."/>
510
        </td>
511
        </tr>
512
  </xsl:template>
513
514
  <xsl:template match="skipbytes">
515
        <xsl:param name="physicalfirstColStyle"/>
516
        <tr>
517
        <td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes</td>
518
        <td class="{$secondColStyle}" width="{$secondColWidth}">
519
          <xsl:value-of select="."/>
520
        </td>
521
        </tr>
522
  </xsl:template>
523
524
  <xsl:template match="bandrowbytes">
525
        <xsl:param name="physicalfirstColStyle"/>
526
        <tr>
527
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row)</td>
528
        <td class="{$secondColStyle}" width="{$secondColWidth}">
529
          <xsl:value-of select="."/>
530
        </td>
531
        </tr>
532
  </xsl:template>
533
534
  <xsl:template match="totalrowbytes">
535
        <xsl:param name="physicalfirstColStyle"/>
536
        <tr>
537
        <td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row)</td>
538
        <td class="{$secondColStyle}" width="{$secondColWidth}">
539
          <xsl:value-of select="."/>
540
        </td>
541
        </tr>
542
  </xsl:template>
543
544
  <xsl:template match="bandgapbytes">
545
        <xsl:param name="physicalfirstColStyle"/>
546
        <tr>
547
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands</td>
548
        <td class="{$secondColStyle}" width="{$secondColWidth}">
549
          <xsl:value-of select="."/>
550
        </td>
551
        </tr>
552
  </xsl:template>
553
554 553 tao
</xsl:stylesheet>