Project

General

Profile

1
<?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: tao $'
10
  *     '$Date: 2003-07-17 17:48:51 -0700 (Thu, 17 Jul 2003) $'
11
  * '$Revision: 1735 $'
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
   <xsl:template name="physical">
37
      <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
      <xsl:param name="physicalfirstColStyle"/>
44
      <xsl:param name="notshowdistribution"/>
45
      <table xsl:use-attribute-sets="cellspacing" 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
  </xsl:template>
66
  
67
  <xsl:template name="physicalcommon">
68
    <xsl:param name="physicalfirstColStyle"/>
69
    <xsl:param name="notshowdistribution"/>
70
    <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
    <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
    <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
      <xsl:for-each select="distribution">
106
        <xsl:call-template name="distribution">
107
          <xsl:with-param name="disfirstColStyle" select="$physicalfirstColStyle"/>
108
          <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
        </xsl:call-template>
116
      </xsl:for-each>
117
    </xsl:if>
118
   
119
  </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="."/><xsl:text> </xsl:text><xsl:value-of select="./@unit"/></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="."/><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
      </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
        Compression Method:</td>
167
        <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
        Encoding Method:</td>
179
        <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
        Character Encoding:</td>
191
        <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
        <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
      </tr>
215
      
216
   </xsl:for-each>
217
  
218
  </xsl:template>
219
  
220

    
221
  <xsl:template match="numHeaderLines">
222
        <xsl:param name="physicalfirstColStyle"/>
223
        <tr>
224
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines:</td>
225
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
226
        </tr>
227
  </xsl:template>
228

    
229
  <xsl:template match="numFooterLines">
230
        <xsl:param name="physicalfirstColStyle"/>
231
        <tr>
232
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines:</td>
233
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
234
        </tr>
235
  </xsl:template>
236
  
237
  <xsl:template match="recordDelimiter">
238
        <xsl:param name="physicalfirstColStyle"/>
239
        <tr>
240
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter:</td>
241
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
242
        </tr>
243
  </xsl:template>
244
  
245
  <xsl:template match="physicalLineDelimiter">
246
        <xsl:param name="physicalfirstColStyle"/>
247
        <tr>
248
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter:</td>
249
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
250
        </tr>
251
  </xsl:template>
252
  
253
  <xsl:template match="numPhysicalLinesPerRecord">
254
        <xsl:param name="physicalfirstColStyle"/>
255
        <tr>
256
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record:</td>
257
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
258
        </tr>
259
  </xsl:template>
260
  
261
  <xsl:template match="maxRecordLength">
262
        <xsl:param name="physicalfirstColStyle"/>
263
        <tr>
264
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
265
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
266
        </tr>
267
  </xsl:template>
268
  
269
  <xsl:template match="attributeOrientation">
270
        <xsl:param name="physicalfirstColStyle"/>
271
        <tr>
272
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
273
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
274
        </tr>
275
  </xsl:template>
276
  
277
  <xsl:template match="simpleDelimited">
278
        <xsl:param name="physicalfirstColStyle"/>
279
        <tr>
280
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited:</td>
281
        <td  width="{$secondColWidth}">
282
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
283
            <xsl:apply-templates>
284
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
285
            </xsl:apply-templates>
286
          </table>
287
        </td>
288
        </tr>
289
  </xsl:template>
290
  
291
  <xsl:template match="complex">
292
        <xsl:param name="physicalfirstColStyle"/>
293
        <tr>
294
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited:</td>
295
        <td  width="{$secondColWidth}">
296
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
297
             <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
        </tr>
306
  </xsl:template>
307
  
308
  
309
  <xsl:template name="textFixed">
310
        <xsl:param name="physicalfirstColStyle"/>
311
        <tr>
312
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed:</td>
313
        <td  width="{$secondColWidth}">
314
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
315
            <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
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited:</td>
327
        <td  width="{$secondColWidth}">
328
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
329
            <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

    
337
  <xsl:template match="quoteCharacter">
338
        <xsl:param name="physicalfirstColStyle"/>
339
        <tr>
340
        <td class="{$firstColStyle}" width="{$firstColWidth}">Quote Character:</td>
341
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
342
        </tr>
343
  </xsl:template>
344

    
345
   <xsl:template match="literalCharacter">
346
       <xsl:param name="physicalfirstColStyle"/>
347
       <tr>
348
        <td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character:</td>
349
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
350
        </tr>
351
  </xsl:template>
352

    
353
  
354
  <xsl:template match="fieldDelimiter">
355
        <xsl:param name="physicalfirstColStyle"/>
356
        <tr>
357
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter:</td>
358
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
359
        </tr>
360
  </xsl:template>
361

    
362
  <xsl:template match="fieldWidth">
363
        <xsl:param name="physicalfirstColStyle"/>
364
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width:</td>
365
        <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
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number:</td>
372
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
373
        </tr>
374
  </xsl:template>
375

    
376
  <xsl:template match="fieldStartColumn">
377
        <xsl:param name="physicalfirstColStyle"/>
378
        <tr>
379
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column:</td>
380
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
381
        </tr>
382
  </xsl:template>
383
  
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
        <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
      </tr>
402
    </xsl:for-each>
403
  </xsl:template>
404
  <xsl:template match="formatName">
405
    <xsl:param name="physicalfirstColStyle"/>
406
    <xsl:if test="normalize-space(.)!=''">
407
        <tr>
408
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Name:</td>
409
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
410
        </tr>
411
    </xsl:if>
412
  </xsl:template>
413
  
414
  <xsl:template match="formatVersion">
415
        <xsl:param name="physicalfirstColStyle"/>
416
        <tr>
417
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Version:</td>
418
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
419
        </tr>
420
  </xsl:template>
421
  
422
  <xsl:template match="citation">
423
        <xsl:param name="physicalfirstColStyle"/>
424
        <tr>
425
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Citation: </td>
426
        <td width="{$secondColWidth}">
427
          <xsl:call-template name="citation">
428
            <xsl:with-param name="citationfirstColStyle" select="$physicalfirstColStyle"/>
429
             <xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
430
          </xsl:call-template>
431
        </td>
432
        </tr>
433
  </xsl:template>
434
  
435
  <!--***********************************************************
436
      binaryRasterFormat templates
437
      ***********************************************************-->
438
  <xsl:template name="physicalbinaryRasterFormat">
439
    <xsl:param name="physicalfirstColStyle"/>
440
    <xsl:for-each select="dataFormat/binaryRasterFormat">
441
      <tr>
442
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
443
        Binary Raster Format:</td>
444
        <td width="{$secondColWidth}">
445
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault">
446
             <xsl:apply-templates>
447
               <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
448
             </xsl:apply-templates>
449
           </table>
450
        </td>
451
      </tr>
452
      
453
   </xsl:for-each>
454
  </xsl:template>
455
  
456
  <xsl:template match="rowColumnOrientation">
457
        <xsl:param name="physicalfirstColStyle"/>
458
        <tr>
459
        <td class="{$firstColStyle}" width="{$firstColWidth}">Orientation:</td>
460
        <td class="{$secondColStyle}" width="{$secondColWidth}">
461
          <xsl:value-of select="."/>
462
        </td>
463
        </tr>
464
  </xsl:template>
465
  
466
  <xsl:template match="multiBand">
467
        <xsl:param name="physicalfirstColStyle"/>
468
        <tr>
469
        <td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands:</td>
470
        <td width="{$secondColWidth}">
471
         <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
472
            <tr>
473
                <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands:</td>
474
                <td class="{$secondColStyle}" width="{$secondColWidth}">
475
                <xsl:value-of select="./nbands"/>
476
              </td>
477
            </tr>
478
            <tr>
479
               <td class="{$firstColStyle}" width="{$firstColWidth}">Layout:</td>
480
               <td class="{$secondColStyle}" width="{$secondColWidth}">
481
               <xsl:value-of select="./layout"/>
482
               </td>
483
           </tr>
484
        </table>
485
        </td>
486
        </tr>
487
  </xsl:template>
488
  
489
  
490
  <xsl:template match="nbits">
491
        <xsl:param name="physicalfirstColStyle"/>
492
        <tr>
493
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band):</td>
494
        <td class="{$secondColStyle}" width="{$secondColWidth}">
495
          <xsl:value-of select="."/>
496
        </td>
497
        </tr>
498
  </xsl:template>
499
  
500
  <xsl:template match="byteorder">
501
        <xsl:param name="physicalfirstColStyle"/>
502
        <tr>
503
        <td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order:</td>
504
        <td class="{$secondColStyle}" width="{$secondColWidth}">
505
          <xsl:value-of select="."/>
506
        </td>
507
        </tr>
508
  </xsl:template>
509
  
510
  <xsl:template match="skipbytes">
511
        <xsl:param name="physicalfirstColStyle"/>
512
        <tr>
513
        <td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes:</td>
514
        <td class="{$secondColStyle}" width="{$secondColWidth}">
515
          <xsl:value-of select="."/>
516
        </td>
517
        </tr>
518
  </xsl:template>
519
  
520
  <xsl:template match="bandrowbytes">
521
        <xsl:param name="physicalfirstColStyle"/>
522
        <tr>
523
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row):</td>
524
        <td class="{$secondColStyle}" width="{$secondColWidth}">
525
          <xsl:value-of select="."/>
526
        </td>
527
        </tr>
528
  </xsl:template>
529
  
530
  <xsl:template match="totalrowbytes">
531
        <xsl:param name="physicalfirstColStyle"/>
532
        <tr>
533
        <td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row):</td>
534
        <td class="{$secondColStyle}" width="{$secondColWidth}">
535
          <xsl:value-of select="."/>
536
        </td>
537
        </tr>
538
  </xsl:template>
539
  
540
  <xsl:template match="bandgapbytes">
541
        <xsl:param name="physicalfirstColStyle"/>
542
        <tr>
543
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands:</td>
544
        <td class="{$secondColStyle}" width="{$secondColWidth}">
545
          <xsl:value-of select="."/>
546
        </td>
547
        </tr>
548
  </xsl:template>
549
  
550
</xsl:stylesheet>
(19-19/30)