Project

General

Profile

« Previous | Next » 

Revision 1710

Added by Jing Tao about 21 years ago

Revise the templates.

View differences:

eml-attribute-2.0.0.xsl
101 101
          <xsl:variable name="ref_id" select="references"/>
102 102
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
103 103
          <xsl:for-each select="$references">
104
             <td colspan="1" align="center" class="{$stripes}">
105
                 <xsl:for-each select="attributeLabel">
106
                   <xsl:value-of select="."/>
107
                    &#160;<br />
108
                </xsl:for-each>
109
              </td>
104
             <xsl:choose>
105
                <xsl:when test="attributeLabel!=''">
106
                  <td colspan="1" align="center" class="{$stripes}">
107
                     <xsl:for-each select="attributeLabel">
108
                       <xsl:value-of select="."/>
109
                         &#160;<br />
110
                       </xsl:for-each>
111
                  </td>
112
                </xsl:when>
113
                <xsl:otherwise>
114
                   <td colspan="1" align="center" class="{$stripes}">
115
                       &#160;<br />
116
                   </td>
117
                </xsl:otherwise>
118
              </xsl:choose>
110 119
          </xsl:for-each>
111 120
        </xsl:when>
112 121
        <xsl:otherwise>
113
             <td colspan="1" align="center" class="{$stripes}">
114
                 <xsl:for-each select="attributeLabel">
115
                   <xsl:value-of select="."/>
116
                    &#160;<br />
117
                </xsl:for-each>
118
             </td>
122
             <xsl:choose>
123
                <xsl:when test="attributeLabel!=''">
124
                  <td colspan="1" align="center" class="{$stripes}">
125
                     <xsl:for-each select="attributeLabel">
126
                       <xsl:value-of select="."/>
127
                         &#160;<br/>
128
                       </xsl:for-each>
129
                  </td>
130
                </xsl:when>
131
                <xsl:otherwise>
132
                   <td colspan="1" align="center" class="{$stripes}">
133
                       &#160;<br />
134
                   </td>
135
                </xsl:otherwise>
136
              </xsl:choose>
119 137
        </xsl:otherwise>
120 138
     </xsl:choose>
121 139
   </xsl:for-each>
......
163 181
          <xsl:variable name="ref_id" select="references"/>
164 182
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
165 183
          <xsl:for-each select="$references">
166
            <td colspan="1" align="center" class="{$stripes}">
167
              <xsl:value-of select="storageType"/>
168
            </td>
184
            <xsl:choose>
185
              <xsl:when test="storageType!=''">
186
                 <td colspan="1" align="center" class="{$stripes}">
187
                    <xsl:for-each select="storageType">
188
                      <xsl:value-of select="."/>
189
                       &#160;<br/>
190
                    </xsl:for-each>
191
                 </td>
192
              </xsl:when>
193
              <xsl:otherwise>
194
                  <td colspan="1" align="center" class="{$stripes}">
195
                       &#160;
196
                   </td>
197
              </xsl:otherwise>
198
            </xsl:choose>
169 199
          </xsl:for-each>
170 200
        </xsl:when>
171 201
        <xsl:otherwise>
172
           <td colspan="1" align="center" class="{$stripes}">
173
             <xsl:value-of select="storageType"/>
174
           </td>
202
           <xsl:choose>
203
              <xsl:when test="storageType!=''">
204
                 <td colspan="1" align="center" class="{$stripes}">
205
                    <xsl:for-each select="storageType">
206
                      <xsl:value-of select="."/>
207
                       &#160;<br/>
208
                    </xsl:for-each>
209
                 </td>
210
              </xsl:when>
211
              <xsl:otherwise>
212
                  <td colspan="1" align="center" class="{$stripes}">
213
                       &#160;
214
                   </td>
215
              </xsl:otherwise>
216
            </xsl:choose>
175 217
        </xsl:otherwise>
176 218
     </xsl:choose>
177 219
   </xsl:for-each>
......
218 260
                <xsl:when test="position() mod 2 = 1">colodd</xsl:when>
219 261
              </xsl:choose>
220 262
    </xsl:variable>
263
     <xsl:variable name="innerstripes">
264
              <xsl:choose>
265
                <xsl:when test="position() mod 2 = 0">innercoleven</xsl:when>
266
                <xsl:when test="position() mod 2 = 1">innercolodd</xsl:when>
267
              </xsl:choose>
268
    </xsl:variable>
221 269
    <xsl:choose>
222 270
         <xsl:when test="references!=''">
223 271
          <xsl:variable name="ref_id" select="references"/>
......
230 278
                    <xsl:with-param name="entitytype" select="$entitytype"/>
231 279
                    <xsl:with-param name="entityindex" select="$entityindex"/>
232 280
                    <xsl:with-param name="attributeindex" select="position()"/>
233
                    <xsl:with-param name="stripes" select="$stripes"/>
281
                    <xsl:with-param name="stripes" select="$innerstripes"/>
234 282
                </xsl:call-template>
235 283
              </xsl:for-each>
236 284
            </td>
......
244 292
                      <xsl:with-param name="entitytype" select="$entitytype"/>
245 293
                      <xsl:with-param name="entityindex" select="$entityindex"/>
246 294
                      <xsl:with-param name="attributeindex" select="position()"/>
247
                      <xsl:with-param name="stripes" select="$stripes"/>
295
                      <xsl:with-param name="stripes" select="$innerstripes"/>
248 296
                </xsl:call-template>
249 297
              </xsl:for-each>
250 298
           </td>
......
258 306
  <tr><th colspan="1" align="center"  class="bordered">Missing Value Code</th>
259 307
    <xsl:for-each select="attribute">
260 308
      <xsl:variable name="stripes">
261
         <xsl:choose>
262
            <xsl:when test="position() mod 2 = 1">colodd</xsl:when>
263
            <xsl:when test="position() mod 2 = 0">coleven</xsl:when>
264
         </xsl:choose>
309
              <xsl:choose>
310
                <xsl:when test="position() mod 2 = 0">coleven</xsl:when>
311
                <xsl:when test="position() mod 2 = 1">colodd</xsl:when>
312
              </xsl:choose>
265 313
     </xsl:variable>
314
     <xsl:variable name="innerstripes">
315
              <xsl:choose>
316
                <xsl:when test="position() mod 2 = 0">innercoleven</xsl:when>
317
                <xsl:when test="position() mod 2 = 1">innercolodd</xsl:when>
318
              </xsl:choose>
319
     </xsl:variable>
266 320
     <xsl:choose>
267 321
         <xsl:when test="references!=''">
268 322
          <xsl:variable name="ref_id" select="references"/>
269 323
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
270 324
          <xsl:for-each select="$references">
271
            <td colspan="1" align="center" class="{$stripes}">
272
              <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
273
                <xsl:for-each select="missingValueCode">
274
                 <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Code</b></td>
275
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="code"/></td></tr>
276
                  <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Explanation</b></td>
277
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="codeExplanation"/></td>
278
                  </tr>
279
               </xsl:for-each>
280
             </table>
281
            </td>
325
            <xsl:choose>
326
              <xsl:when test="missingValueCode!=''">
327
                 <td colspan="1" align="center" class="{$stripes}">
328
                    <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
329
                       <xsl:for-each select="missingValueCode">
330
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Code</b></td>
331
                              <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="code"/></td></tr>
332
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Explanation</b></td>
333
                               <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="codeExplanation"/></td>
334
                          </tr>
335
                       </xsl:for-each>
336
                   </table>
337
                 </td>
338
              </xsl:when>
339
              <xsl:otherwise>
340
                <td colspan="1" align="center" class="{$stripes}">
341
                   &#160;
342
                </td>
343
              </xsl:otherwise>
344
            </xsl:choose>
282 345
          </xsl:for-each>
283 346
        </xsl:when>
284 347
        <xsl:otherwise>
285
           <td colspan="1" align="center" class="{$stripes}">
286
             <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
287
                <xsl:for-each select="missingValueCode">
288
                 <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Code</b></td>
289
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="code"/></td></tr>
290
                  <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Explanation</b></td>
291
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="codeExplanation"/></td>
292
                  </tr>
293
               </xsl:for-each>
294
             </table>
295
          </td>
348
           <xsl:choose>
349
              <xsl:when test="missingValueCode!=''">
350
                 <td colspan="1" align="center" class="{$stripes}">
351
                    <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
352
                       <xsl:for-each select="missingValueCode">
353
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Code</b></td>
354
                              <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="code"/></td></tr>
355
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Explanation</b></td>
356
                               <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="codeExplanation"/></td>
357
                          </tr>
358
                       </xsl:for-each>
359
                   </table>
360
                 </td>
361
              </xsl:when>
362
              <xsl:otherwise>
363
                <td colspan="1" align="center" class="{$stripes}">
364
                   &#160;
365
                </td>
366
              </xsl:otherwise>
367
            </xsl:choose>
296 368
        </xsl:otherwise>
297 369
     </xsl:choose>
298 370
   </xsl:for-each>
......
313 385
          <xsl:variable name="ref_id" select="references"/>
314 386
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
315 387
          <xsl:for-each select="$references">
316
            <td colspan="1" align="center" class="{$stripes}">
317
              <xsl:for-each select="accuracy">
318
                <xsl:value-of select="attributeAccuracyReport"/>
319
              </xsl:for-each>
320
            </td>
388
            <xsl:choose>
389
               <xsl:when test="accuracy!=''">
390
                 <td colspan="1" align="center" class="{$stripes}">
391
                    <xsl:for-each select="accuracy">
392
                          <xsl:value-of select="attributeAccuracyReport"/>
393
                    </xsl:for-each>
394
                 </td>
395
              </xsl:when>
396
              <xsl:otherwise>
397
                <td colspan="1" align="center" class="{$stripes}">
398
                  &#160;   
399
                </td>
400
              </xsl:otherwise>
401
            </xsl:choose>
321 402
          </xsl:for-each>
322 403
        </xsl:when>
323 404
        <xsl:otherwise>
324
           <td colspan="1" align="center" class="{$stripes}">
325
              <xsl:for-each select="accuracy">
326
                <xsl:value-of select="attributeAccuracyReport"/>
327
             </xsl:for-each>
328
           </td>
405
           <xsl:choose>
406
               <xsl:when test="accuracy!=''">
407
                 <td colspan="1" align="center" class="{$stripes}">
408
                    <xsl:for-each select="accuracy">
409
                          <xsl:value-of select="attributeAccuracyReport"/>
410
                    </xsl:for-each>
411
                 </td>
412
              </xsl:when>
413
              <xsl:otherwise>
414
                <td colspan="1" align="center" class="{$stripes}">
415
                  &#160;   
416
                </td>
417
              </xsl:otherwise>
418
            </xsl:choose>
329 419
        </xsl:otherwise>
330 420
     </xsl:choose>
331 421
  </xsl:for-each>
......
340 430
             <xsl:when test="position() mod 2 = 0">coleven</xsl:when>
341 431
         </xsl:choose>
342 432
    </xsl:variable>
343
    <xsl:choose>
433
    <xsl:variable name="innerstripes">
434
              <xsl:choose>
435
                <xsl:when test="position() mod 2 = 0">innercoleven</xsl:when>
436
                <xsl:when test="position() mod 2 = 1">innercolodd</xsl:when>
437
              </xsl:choose>
438
     </xsl:variable>
439
     <xsl:choose>
344 440
         <xsl:when test="references!=''">
345 441
          <xsl:variable name="ref_id" select="references"/>
346 442
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
347 443
          <xsl:for-each select="$references">
348
            <td colspan="1" align="center" class="{$stripes}">
349
              <xsl:for-each select="accuracy">
350
               <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
351
                  <xsl:for-each select="quantitativeAttributeAccuracyAssessment">
352
                    <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Value</b></td>
353
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="attributeAccuracyValue"/></td>
354
                    </tr>
355
                    <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Explanation</b></td>
356
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="attributeAccuracyExplanation"/></td>
357
                    </tr>
358
                  </xsl:for-each>
359
               </table>
360
             </xsl:for-each>
361
            </td>
444
            <xsl:choose>
445
               <xsl:when test="accuracy/quantitativeAttributeAccuracyAssessment!=''">
446
                 <td colspan="1" align="center" class="{$stripes}">
447
                   <xsl:for-each select="accuracy">
448
                     <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
449
                       <xsl:for-each select="quantitativeAttributeAccuracyAssessment">
450
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Value</b></td>
451
                              <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="attributeAccuracyValue"/></td>
452
                          </tr>
453
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Explanation</b></td>
454
                              <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="attributeAccuracyExplanation"/></td>
455
                          </tr>
456
                      </xsl:for-each>
457
                   </table>
458
                 </xsl:for-each>
459
               </td>
460
             </xsl:when>
461
             <xsl:otherwise>
462
                <td colspan="1" align="center" class="{$stripes}">
463
                  &#160;
464
                </td>
465
             </xsl:otherwise>
466
           </xsl:choose>
362 467
          </xsl:for-each>
363 468
        </xsl:when>
364 469
        <xsl:otherwise>
365
           <td colspan="1" align="center" class="{$stripes}">
366
              <xsl:for-each select="accuracy">
367
                 <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
368
                   <xsl:for-each select="quantitativeAttributeAccuracyAssessment">
369
                    <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Value</b></td>
370
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="attributeAccuracyValue"/></td>
371
                    </tr>
372
                    <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Explanation</b></td>
373
                       <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="attributeAccuracyExplanation"/></td>
374
                    </tr>
375
                  </xsl:for-each>
376
                </table>
377
             </xsl:for-each>
378
           </td>
470
           <xsl:choose>
471
               <xsl:when test="accuracy/quantitativeAttributeAccuracyAssessment!=''">
472
                 <td colspan="1" align="center" class="{$stripes}">
473
                   <xsl:for-each select="accuracy">
474
                     <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
475
                       <xsl:for-each select="quantitativeAttributeAccuracyAssessment">
476
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Value</b></td>
477
                              <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="attributeAccuracyValue"/></td>
478
                          </tr>
479
                          <tr><td width="{$firstColWidth}" class="{$innerstripes}"><b>Explanation</b></td>
480
                              <td width="{$secondColWidth}" class="{$innerstripes}"><xsl:value-of select="attributeAccuracyExplanation"/></td>
481
                          </tr>
482
                      </xsl:for-each>
483
                   </table>
484
                 </xsl:for-each>
485
               </td>
486
             </xsl:when>
487
             <xsl:otherwise>
488
                <td colspan="1" align="center" class="{$stripes}">
489
                  &#160;
490
                </td>
491
             </xsl:otherwise>
492
           </xsl:choose>
379 493
        </xsl:otherwise>
380 494
     </xsl:choose>
381 495
  </xsl:for-each>
......
395 509
          <xsl:variable name="ref_id" select="references"/>
396 510
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
397 511
          <xsl:for-each select="$references">
398
            <td colspan="1" align="center" class="{$stripes}">
399
              <xsl:for-each select="coverage">
400
                <xsl:call-template name="attributecoverage"/>
401
              </xsl:for-each>
402
            </td>
512
            <xsl:choose>
513
               <xsl:when test="coverage!=''">
514
                  <td colspan="1" align="center" class="{$stripes}">
515
                    <xsl:for-each select="coverage">
516
                      <xsl:call-template name="attributecoverage"/>
517
                    </xsl:for-each>
518
                  </td>
519
               </xsl:when>
520
               <xsl:otherwise>
521
                  <td colspan="1" align="center" class="{$stripes}">
522
                   &#160;
523
                  </td>
524
               </xsl:otherwise>
525
            </xsl:choose>
403 526
         </xsl:for-each>
404 527
        </xsl:when>
405 528
        <xsl:otherwise>
406
           <td colspan="1" align="center" class="{$stripes}">
407
              <xsl:for-each select="coverage">
408
                <xsl:call-template name="attributecoverage">
409
                    <xsl:with-param name="docid" select="$docid"/>
410
                    <xsl:with-param name="entitytype" select="$entitytype"/>
411
                    <xsl:with-param name="entityindex" select="$entityindex"/>
412
                    <xsl:with-param name="attributeindex" select="position()"/>
413
                </xsl:call-template>
414
              </xsl:for-each>
415
           </td>
529
          <xsl:choose>
530
               <xsl:when test="coverage!=''">
531
                  <td colspan="1" align="center" class="{$stripes}">
532
                    <xsl:for-each select="coverage">
533
                      <xsl:call-template name="attributecoverage"/>
534
                    </xsl:for-each>
535
                  </td>
536
               </xsl:when>
537
               <xsl:otherwise>
538
                  <td colspan="1" align="center" class="{$stripes}">
539
                   &#160;
540
                  </td>
541
               </xsl:otherwise>
542
            </xsl:choose>
416 543
        </xsl:otherwise>
417 544
     </xsl:choose>
418 545
   </xsl:for-each>
......
433 560
          <xsl:variable name="ref_id" select="references"/>
434 561
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
435 562
          <xsl:for-each select="$references">
436
            <td colspan="1" align="center" class="{$stripes}">
437
              <xsl:for-each select="method">
438
                <xsl:call-template name="attributemethod"/>
439
              </xsl:for-each>
440
            </td>
563
            <xsl:choose>
564
               <xsl:when test="method!=''">
565
                 <td colspan="1" align="center" class="{$stripes}">
566
                   <xsl:for-each select="method">
567
                     <xsl:call-template name="attributemethod"/>
568
                   </xsl:for-each>
569
                 </td>
570
               </xsl:when>
571
               <xsl:otherwise>
572
                 <td colspan="1" align="center" class="{$stripes}">
573
                   &#160;
574
                 </td>
575
               </xsl:otherwise>
576
            </xsl:choose>
441 577
         </xsl:for-each>
442 578
        </xsl:when>
443 579
        <xsl:otherwise>
444
           <td colspan="1" align="center" class="{$stripes}">
445
              <xsl:for-each select="method">
446
                <xsl:call-template name="attributemethod">
447
                    <xsl:with-param name="docid" select="$docid"/>
448
                    <xsl:with-param name="entitytype" select="$entitytype"/>
449
                    <xsl:with-param name="entityindex" select="$entityindex"/>
450
                    <xsl:with-param name="attributeindex" select="position()"/>
451
                </xsl:call-template>
452
              </xsl:for-each>
453
           </td>
580
           <xsl:choose>
581
               <xsl:when test="method!=''">
582
                 <td colspan="1" align="center" class="{$stripes}">
583
                   <xsl:for-each select="method">
584
                     <xsl:call-template name="attributemethod"/>
585
                   </xsl:for-each>
586
                 </td>
587
               </xsl:when>
588
               <xsl:otherwise>
589
                 <td colspan="1" align="center" class="{$stripes}">
590
                   &#160;
591
                 </td>
592
               </xsl:otherwise>
593
            </xsl:choose>
454 594
        </xsl:otherwise>
455 595
     </xsl:choose>
456 596
   </xsl:for-each>
......
544 684
        it will be displayed inline otherwith will be show a link-->
545 685
    <xsl:choose>
546 686
      <xsl:when test="count(textDomain)=1 and not(enumeratedDomain)">
547
        <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Definition</b></td>
687
        <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Def</b></td>
548 688
            <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="textDomain/definition"/>
549 689
            </td>
550 690
        </tr>
......
591 731
      </tr>
592 732
   </xsl:for-each>
593 733
   <xsl:for-each select="numericDomain">
594
       <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Numeric</b></td>
595
            <td width="{$secondColWidth}" class="{$stripes}">
596
             <xsl:call-template name="numericDomain">
597
               <xsl:with-param name="stripes" select="$stripes"/>
598
             </xsl:call-template>
599
          </td>
600
      </tr>
601
   </xsl:for-each>
734
      <xsl:call-template name="numericDomain">
735
         <xsl:with-param name="stripes" select="$stripes"/>
736
      </xsl:call-template>
737
    </xsl:for-each>
602 738
  </xsl:template>
603 739
  
604 740
  
605 741
 <xsl:template name="numericDomain">
606 742
     <xsl:param name="stripes"/>
607
     <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
608
        <xsl:choose>
743
       <xsl:choose>
609 744
         <xsl:when test="references!=''">
610 745
          <xsl:variable name="ref_id" select="references"/>
611 746
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
612 747
          <xsl:for-each select="$references">
613
            <tr><td width="{$firstColWidth}" class="{$stripes}">Type</td>
748
            <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Type</b></td>
614 749
                <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="numberType"/>
615 750
                </td>
616 751
            </tr>
617 752
            <xsl:for-each select="bounds">
618
              <tr><td width="{$firstColWidth}" class="{$stripes}">Min</td>
753
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Min</b></td>
619 754
                  <td width="{$secondColWidth}" class="{$stripes}">
620 755
                    <xsl:for-each select="minimum">
621 756
                      <xsl:value-of select="."/>&#160;
622 757
                    </xsl:for-each>
623 758
                  </td>
624 759
              </tr>
625
              <tr><td width="{$firstColWidth}" class="{$stripes}">Max</td>
760
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Max</b></td>
626 761
                  <td width="{$secondColWidth}" class="{$stripes}">
627 762
                    <xsl:for-each select="maximum">
628 763
                      <xsl:value-of select="."/>&#160;
......
633 768
          </xsl:for-each>
634 769
        </xsl:when>
635 770
        <xsl:otherwise>
636
          <tr><td width="{$firstColWidth}" class="{$stripes}">Type</td>
771
          <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Type</b></td>
637 772
                <td width="{$secondColWidth}" class="{$stripes}"><xsl:value-of select="numberType"/>
638 773
                </td>
639 774
            </tr>
640 775
            <xsl:for-each select="bounds">
641
              <tr><td width="{$firstColWidth}" class="{$stripes}">Min</td>
776
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Min</b></td>
642 777
                  <td width="{$secondColWidth}" class="{$stripes}">
643 778
                    <xsl:for-each select="minimum">
644 779
                      <xsl:value-of select="."/>&#160;
645 780
                    </xsl:for-each>
646 781
                  </td>
647 782
              </tr>
648
              <tr><td width="{$firstColWidth}" class="{$stripes}">Max</td>
783
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Max</b></td>
649 784
                  <td width="{$secondColWidth}" class="{$stripes}">
650 785
                    <xsl:for-each select="maximum">
651 786
                      <xsl:value-of select="."/>&#160;
......
655 790
            </xsl:for-each>
656 791
        </xsl:otherwise>
657 792
      </xsl:choose>
658
  </table>
659
 </xsl:template>
793
  </xsl:template>
660 794
 
661 795
 <xsl:template name="datetime">
662 796
    <xsl:param name="stripes"/>
......
670 804
            <xsl:value-of select="dateTimePrecision"/>        
671 805
         </td>
672 806
    </tr>
673
     <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Domain</b></td>
674
         <td width="{$secondColWidth}" class="{$stripes}">
675
           <xsl:call-template name="timedomain"/>     
676
         </td>
677
    </tr>
807
    <xsl:call-template name="timedomain"/>     
678 808
 </xsl:template>
679 809
 
680 810
 
681 811
 <xsl:template name="timedomain">
682 812
    <xsl:param name="stripes"/>
683
    <table xsl:use-attribute-sets="cellspacing" class="tableinattribute" width="100%">
684
        <xsl:choose>
813
      <xsl:choose>
685 814
         <xsl:when test="references!=''">
686 815
          <xsl:variable name="ref_id" select="references"/>
687 816
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
688 817
          <xsl:for-each select="$references">
689 818
            <xsl:for-each select="bounds">
690
              <tr><td width="{$firstColWidth}" class="{$stripes}">Min</td>
819
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Min</b></td>
691 820
                  <td width="{$secondColWidth}" class="{$stripes}">
692 821
                    <xsl:for-each select="minimum">
693 822
                      <xsl:value-of select="."/>&#160;
694 823
                    </xsl:for-each>
695 824
                  </td>
696 825
              </tr>
697
              <tr><td width="{$firstColWidth}" class="{$stripes}">Max</td>
826
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Max</b></td>
698 827
                  <td width="{$secondColWidth}" class="{$stripes}">
699 828
                    <xsl:for-each select="maximum">
700 829
                      <xsl:value-of select="."/>&#160;
......
706 835
        </xsl:when>
707 836
        <xsl:otherwise>
708 837
           <xsl:for-each select="bounds">
709
              <tr><td width="{$firstColWidth}" class="{$stripes}">Min</td>
838
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Min</b></td>
710 839
                  <td width="{$secondColWidth}" class="{$stripes}">
711 840
                    <xsl:for-each select="minimum">
712 841
                      <xsl:value-of select="."/>&#160;
713 842
                    </xsl:for-each>
714 843
                  </td>
715 844
              </tr>
716
              <tr><td width="{$firstColWidth}" class="{$stripes}">Max</td>
845
              <tr><td width="{$firstColWidth}" class="{$stripes}"><b>Max</b></td>
717 846
                  <td width="{$secondColWidth}" class="{$stripes}">
718 847
                    <xsl:for-each select="maximum">
719 848
                      <xsl:value-of select="."/>&#160;
......
723 852
            </xsl:for-each>
724 853
        </xsl:otherwise>
725 854
      </xsl:choose>
726
  </table>
727
 </xsl:template>
855
  </xsl:template>
728 856
 
729 857
 <xsl:template name="attributecoverage">
730 858
    <xsl:param name="docid"/>

Also available in: Unified diff