Project

General

Profile

« Previous | Next » 

Revision 1696

Added by Jing Tao almost 21 years ago

Make table cellspacing=0 and fixed some bugs.

View differences:

eml-attribute-2.0.0.xsl
38 38
   <xsl:param name="entitytype"/>
39 39
   <xsl:param name="entityindex"/>
40 40
  
41
   <table class="border1" width="100%">
41
   <table xsl:use-attribute-sets="cellspacing" class="border1" width="100%">
42 42
        <xsl:choose>
43 43
         <xsl:when test="references!=''">
44 44
          <xsl:variable name="ref_id" select="references"/>
......
235 235
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
236 236
          <xsl:for-each select="$references">
237 237
            <td colspan="1" align="center" class="{$stripes}">
238
              <table width="100%">
238
              <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
239 239
                <xsl:for-each select="missingValueCode">
240 240
                 <tr><td width="20%"><b>Code</b></td>
241 241
                       <td width="80%"><xsl:value-of select="code"/></td></tr>
......
249 249
        </xsl:when>
250 250
        <xsl:otherwise>
251 251
           <td colspan="1" align="center" class="{$stripes}">
252
             <table width="100%">
252
             <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
253 253
                <xsl:for-each select="missingValueCode">
254 254
                 <tr><td width="20%"><b>Code</b></td>
255 255
                       <td width="80%"><xsl:value-of select="code"/></td></tr>
......
281 281
          <xsl:for-each select="$references">
282 282
            <td colspan="1" align="center" class="{$stripes}">
283 283
              <xsl:for-each select="accuracy">
284
               <table width="100%">
284
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
285 285
                  <tr><td width="{$firstColWidth}"><b>Report</b></td>
286 286
                       <td width="{$secondColWidth}"><xsl:value-of select="attributeAccuracyReport"/>
287 287
                       </td>
......
302 302
        <xsl:otherwise>
303 303
           <td colspan="1" align="center" class="{$stripes}">
304 304
              <xsl:for-each select="accuracy">
305
               <table width="100%">
305
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
306 306
                  <tr><td width="{$firstColWidth}"><b>Report</b></td>
307 307
                       <td width="{$secondColWidth}"><xsl:value-of select="attributeAccuracyReport"/>
308 308
                       </td>
......
404 404
   <xsl:param name="entitytype"/>
405 405
   <xsl:param name="entityindex"/>
406 406
   <xsl:param name="attributeindex"/>
407
   <table width="100%">
407
   <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
408 408
    <xsl:for-each select="nominal">
409 409
       <tr><td colspan="2" align="center"><b>Nominal</b></td></tr>
410 410
       <xsl:call-template name="attributenonnumericdomain">
......
537 537
  
538 538
  
539 539
 <xsl:template name="numericDomain">
540
     <table width="100%">
540
     <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
541 541
        <xsl:choose>
542 542
         <xsl:when test="references!=''">
543 543
          <xsl:variable name="ref_id" select="references"/>
......
611 611
 
612 612
 
613 613
 <xsl:template name="timedomain">
614
    <table width="100%">
614
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
615 615
        <xsl:choose>
616 616
         <xsl:when test="references!=''">
617 617
          <xsl:variable name="ref_id" select="references"/>

Also available in: Unified diff