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:

lib/style/eml2/eml-storedprocedure-2.0.0.xsl
40 40
      <xsl:param name="storedproceduresubHeaderStyle"/>
41 41
      <xsl:param name="docid"/>
42 42
      <xsl:param name="entityindex"/>
43
      <table class="tabledefault" width="100%">
43
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
        <xsl:choose>
45 45
         <xsl:when test="references!=''">
46 46
          <xsl:variable name="ref_id" select="references"/>
......
97 97
        Physical Structure Description
98 98
      </td></tr>
99 99
    </xsl:if>
100
    <tr><td colspan="2">
101
      <xsl:for-each select="physical">
100
    <xsl:for-each select="physical">
101
       <tr><td colspan="2">
102 102
        <xsl:call-template name="physical">
103 103
         <xsl:with-param name="physicalfirstColStyle" select="$storedprocedurefirstColStyle"/>
104 104
         <xsl:with-param name="notshowdistribution">yes</xsl:with-param>
105 105
        </xsl:call-template>
106
      </xsl:for-each>
107
    </td></tr>
106
        </td></tr>
107
    </xsl:for-each>
108 108
    <xsl:if test="coverage">
109 109
       <tr><td class="{$storedproceduresubHeaderStyle}" colspan="2">
110 110
        Coverage Description
......
146 146
            Parameter
147 147
            </td>
148 148
            <td width="{$secondColWidth}" class="{$secondColStyle}">
149
               <table class="default" width="100%">
149
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
150 150
                  <xsl:for-each select="name">
151 151
                    <tr><td width="{$firstColWidth}" class="{$storedprocedurefirstColStyle}">
152 152
                          Name
lib/style/eml2/eml-view-2.0.0.xsl
40 40
      <xsl:param name="viewsubHeaderStyle"/>
41 41
      <xsl:param name="docid"/>
42 42
      <xsl:param name="entityindex"/>
43
      <table class="tabledefault" width="100%">
43
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
        <xsl:choose>
45 45
         <xsl:when test="references!=''">
46 46
          <xsl:variable name="ref_id" select="references"/>
......
106 106
        Physical Structure Description
107 107
      </td></tr>
108 108
    </xsl:if>
109
    <tr><td colspan="2">
110
      <xsl:for-each select="physical">
109
    <xsl:for-each select="physical">
110
       <tr><td colspan="2">
111 111
        <xsl:call-template name="physical">
112 112
         <xsl:with-param name="physicalfirstColStyle" select="$viewfirstColStyle"/>
113 113
         <xsl:with-param name="notshowdistribution">yes</xsl:with-param>
114 114
        </xsl:call-template>
115
      </xsl:for-each>
116
    </td></tr>
115
        </td></tr>
116
    </xsl:for-each>
117
   
117 118
    <xsl:if test="coverage">
118 119
       <tr><td class="{$viewsubHeaderStyle}" colspan="2">
119 120
        Coverage Description
lib/style/eml2/eml-otherentity-2.0.0.xsl
40 40
      <xsl:param name="otherentitysubHeaderStyle"/>
41 41
      <xsl:param name="docid"/>
42 42
      <xsl:param name="entityindex"/>
43
      <table class="tabledefault" width="100%">
43
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
        <xsl:choose>
45 45
         <xsl:when test="references!=''">
46 46
          <xsl:variable name="ref_id" select="references"/>
......
106 106
        Physical Structure Description
107 107
      </td></tr>
108 108
    </xsl:if>
109
    <tr><td colspan="2">
110
      <xsl:for-each select="physical">
109
    <xsl:for-each select="physical">
110
        <tr><td colspan="2">
111 111
        <xsl:call-template name="physical">
112 112
         <xsl:with-param name="physicalfirstColStyle" select="$otherentityfirstColStyle"/>
113 113
         <xsl:with-param name="notshowdistribution">yes</xsl:with-param>
114 114
        </xsl:call-template>
115
      </xsl:for-each>
116
    </td></tr>
115
         </td></tr>
116
     </xsl:for-each>
117
   
117 118
    <xsl:if test="coverage">
118 119
       <tr><td class="{$otherentitysubHeaderStyle}" colspan="2">
119 120
        Coverage Description
lib/style/eml2/eml-distribution-2.0.0.xsl
46 46
      <xsl:param name="physicalindex"/>
47 47
      <xsl:param name="distributionindex"/>
48 48
      
49
      <table class="tabledefault" width="100%">
49
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
50 50
       <xsl:choose>
51 51
         <xsl:when test="references!=''">
52 52
          <xsl:variable name="ref_id" select="references"/>
......
248 248
          <xsl:text>&#160;&#160;&#160;&#160;&#160;</xsl:text><xsl:value-of select="name" />
249 249
        </td>
250 250
        <td width="{$secondColWidth}" class="{$secondColStyle}">
251
          <table class="tabledefault" width="100%">
251
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
252 252
            <tr>
253 253
              <td width="{$firstColWidth}" class="{$disfirstColStyle}">
254 254
                <xsl:value-of select="defaultValue" />
lib/style/eml2/eml-datatable-2.0.0.xsl
40 40
      <xsl:param name="datatablesubHeaderStyle"/>
41 41
      <xsl:param name="docid"/>
42 42
      <xsl:param name="entityindex"/>
43
      <table class="tabledefault" width="100%">
43
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
        <xsl:choose>
45 45
         <xsl:when test="references!=''">
46 46
          <xsl:variable name="ref_id" select="references"/>
......
97 97
        Physical Structure Description
98 98
      </td></tr>
99 99
    </xsl:if>
100
    <tr><td colspan="2">
101
      <xsl:for-each select="physical">
100
    <xsl:for-each select="physical">
101
       <tr><td colspan="2">
102 102
        <xsl:call-template name="physical">
103 103
         <xsl:with-param name="physicalfirstColStyle" select="$datatablefirstColStyle"/>
104 104
         <xsl:with-param name="notshowdistribution">yes</xsl:with-param>
105 105
        </xsl:call-template>
106
      </xsl:for-each>
107
    </td></tr>
106
       </td></tr>
107
    </xsl:for-each>
108
 
108 109
    <xsl:for-each select="caseSensitive">
109 110
       <xsl:call-template name="datatablecaseSensitive">
110 111
          <xsl:with-param name="datatablefirstColStyle" select="$datatablefirstColStyle"/>
lib/style/eml2/eml-attribute-enumeratedDomain-2.0.0.xsl
34 34
  
35 35
   <xsl:template name="nonNumericDomain">
36 36
     <xsl:param name="nondomainfirstColStyle"/>
37
     <table class="tabledefault" width="100%">
37
     <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
38 38
        <xsl:choose>
39 39
         <xsl:when test="references!=''">
40 40
          <xsl:variable name="ref_id" select="references"/>
......
103 103
       <xsl:for-each select="codeDefinition">
104 104
              <tr><td width="{$firstColWidth}" class="{$nondomainfirstColStyle}">Code Definition</td>
105 105
                   <td width="{$secondColWidth}">
106
                      <table width="100%">
106
                      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
107 107
                          <tr><td width="{$firstColWidth}" class="{$nondomainfirstColStyle}">
108 108
                               Code
109 109
                              </td>
lib/style/eml2/eml-dataset-2.0.0.xsl
35 35
  <xsl:output method="html" encoding="iso-8859-1"/>
36 36
  
37 37
  <xsl:template match="dataset" mode="dataset">
38
    <table class="tabledefault" width="100%">
38
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
39 39
      <xsl:choose>
40 40
         <xsl:when test="references!=''">
41 41
          <xsl:variable name="ref_id" select="references"/>
......
142 142
          History:
143 143
          </td>
144 144
          <td width="{$secondColWidth}" class="{$secondColStyle}" >
145
            <table width="100%">
145
            <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
146 146
              <xsl:for-each select="changeHistory">
147 147
                <xsl:call-template name="historydetails"/>
148 148
              </xsl:for-each>
lib/style/eml2/eml-software-2.0.0.xsl
37 37
  <xsl:template name="software">
38 38
    <xsl:param name="softwarefirstColStyle"/>
39 39
    <xsl:param name="softwaresubHeaderStyle"/>
40
    <table class="tabledefault" width="100%">
40
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
41 41
        <xsl:choose>
42 42
         <xsl:when test="references!=''">
43 43
          <xsl:variable name="ref_id" select="references"/>
lib/style/eml2/eml-party-2.0.0.xsl
37 37

  
38 38
  <xsl:template name="party">
39 39
      <xsl:param name="partyfirstColStyle"/>
40
      <table class="tabledefault" width="100%">
40
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
41 41
        <xsl:choose>
42 42
         <xsl:when test="references!=''">
43 43
          <xsl:variable name="ref_id" select="references"/>
......
106 106
   <!-- This template will be call by other place-->
107 107
   <xsl:template name="address">
108 108
      <xsl:param name="partyfirstColStyle"/>
109
      <table class="tableparty" width="100%">
109
      <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
110 110
        <xsl:choose>
111 111
         <xsl:when test="references!=''">
112 112
          <xsl:variable name="ref_id" select="references"/>
......
131 131
    <xsl:if test="normalize-space(.)!=''">
132 132
    <tr><td width="{$firstColWidth}" valign="top" class="{$partyfirstColStyle}">
133 133
        Address:</td><td width="{$secondColWidth}" >
134
    <table class="tableparty" width="100%">
134
    <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
135 135
    <xsl:for-each select="deliveryPoint">
136 136
    <tr><td><xsl:value-of select="."/><xsl:text>, </xsl:text></td></tr>
137 137
    </xsl:for-each>
lib/style/eml2/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"/>
lib/style/eml2/eml-project-2.0.0.xsl
36 36
  
37 37
   <xsl:template name="project">
38 38
      <xsl:param name="projectfirstColStyle"/>
39
      <table class="tabledefault" width="100%">
39
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
40 40
        <xsl:choose>
41 41
         <xsl:when test="references!=''">
42 42
          <xsl:variable name="ref_id" select="references"/>
......
167 167
           <xsl:text>Study Area:</xsl:text>
168 168
          </td>
169 169
          <td width="{$secondColWidth}" class="{$secondColStyle}">
170
              <table class="tabledefault" width="100%">
170
              <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
171 171
                  <xsl:for-each select="descriptor">
172 172
                      <xsl:for-each select="descriptorValue">
173 173
                      <tr><td width="{$firstColWidth}" class="{$projectfirstColStyle}">
lib/style/eml2/eml-physical-2.0.0.xsl
42 42
      <xsl:param name="distributionindex"/>
43 43
      <xsl:param name="physicalfirstColStyle"/>
44 44
      <xsl:param name="notshowdistribution"/>
45
      <table class="tabledefault" width="100%">
45
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
46 46
        <xsl:choose>
47 47
         <xsl:when test="references!=''">
48 48
          <xsl:variable name="ref_id" select="references"/>
......
123 123
    <xsl:for-each select="objectName">
124 124
      <tr>
125 125
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
126
        Object Name</td>
126
        Object Name:</td>
127 127
        <td class="{$secondColStyle}" width="{$secondColWidth}">
128 128
        <xsl:value-of select="."/></td>
129 129
      </tr>
......
135 135
    <xsl:for-each select="size">
136 136
      <tr>
137 137
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
138
        Size</td>
138
        Size:</td>
139 139
        <td class="{$secondColStyle}" width="{$secondColWidth}">
140 140
        <xsl:value-of select="."/></td>
141 141
      </tr>
......
147 147
    <xsl:for-each select="authentication">
148 148
      <tr>
149 149
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
150
        Authentication</td>
150
        Authentication:</td>
151 151
        <td class="{$secondColStyle}" width="{$secondColWidth}">
152 152
        <xsl:value-of select="."/></td>
153 153
      </tr>
......
159 159
    <xsl:for-each select="compressionMethod">
160 160
      <tr>
161 161
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
162
        Compression Method</td>
162
        Compression Method:</td>
163 163
        <td class="{$secondColStyle}" width="{$secondColWidth}">
164 164
        <xsl:value-of select="."/></td>
165 165
      </tr>
......
171 171
    <xsl:for-each select="encodingMethod">
172 172
      <tr>
173 173
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
174
        Encoding Method</td>
174
        Encoding Method:</td>
175 175
        <td class="{$secondColStyle}" width="{$secondColWidth}">
176 176
        <xsl:value-of select="."/></td>
177 177
      </tr>
......
183 183
    <xsl:for-each select="characterEncoding">
184 184
      <tr>
185 185
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">
186
        Character Encoding</td>
186
        Character Encoding:</td>
187 187
        <td class="{$secondColStyle}" width="{$secondColWidth}">
188 188
        <xsl:value-of select="."/></td>
189 189
      </tr>
......
206 206
      <xsl:apply-templates>
207 207
        <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
208 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>
209
     
215 210
   </xsl:for-each>
216 211
  
217 212
  </xsl:template>
......
220 215
  <xsl:template match="numHeaderLines">
221 216
        <xsl:param name="physicalfirstColStyle"/>
222 217
        <tr>
223
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines</td>
218
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Header Lines:</td>
224 219
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
225 220
        </tr>
226 221
  </xsl:template>
......
228 223
  <xsl:template match="numFooterLines">
229 224
        <xsl:param name="physicalfirstColStyle"/>
230 225
        <tr>
231
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines</td>
226
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Number of Foot Lines:</td>
232 227
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
233 228
        </tr>
234 229
  </xsl:template>
......
236 231
  <xsl:template match="recordDelimiter">
237 232
        <xsl:param name="physicalfirstColStyle"/>
238 233
        <tr>
239
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter</td>
234
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Record Delimiter:</td>
240 235
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
241 236
        </tr>
242 237
  </xsl:template>
......
244 239
  <xsl:template match="physicalLineDelimiter">
245 240
        <xsl:param name="physicalfirstColStyle"/>
246 241
        <tr>
247
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter</td>
242
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Delimiter:</td>
248 243
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
249 244
        </tr>
250 245
  </xsl:template>
......
252 247
  <xsl:template match="numPhysicalLinePerRecord">
253 248
        <xsl:param name="physicalfirstColStyle"/>
254 249
        <tr>
255
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record</td>
250
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Line Number For One Record:</td>
256 251
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
257 252
        </tr>
258 253
  </xsl:template>
......
260 255
  <xsl:template match="maxRecordLength">
261 256
        <xsl:param name="physicalfirstColStyle"/>
262 257
        <tr>
263
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length</td>
258
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
264 259
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
265 260
        </tr>
266 261
  </xsl:template>
......
268 263
  <xsl:template match="attributeOrientation">
269 264
        <xsl:param name="physicalfirstColStyle"/>
270 265
        <tr>
271
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length</td>
266
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Maximum Record Length:</td>
272 267
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
273 268
        </tr>
274 269
  </xsl:template>
......
276 271
  <xsl:template match="simpleDelimited">
277 272
        <xsl:param name="physicalfirstColStyle"/>
278 273
        <tr>
279
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited</td>
274
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Simple Delimited:</td>
280 275
        <td  width="{$secondColWidth}">
281
          <table width="100%">
276
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
282 277
            <xsl:apply-templates>
283 278
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
284 279
            </xsl:apply-templates>
......
290 285
  <xsl:template match="complex">
291 286
        <xsl:param name="physicalfirstColStyle"/>
292 287
        <tr>
293
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited</td>
288
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Complex Delimited:</td>
294 289
        <td  width="{$secondColWidth}">
295
           <table width="100%">
290
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
296 291
             <xsl:call-template name="textFixed">
297 292
                <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
298 293
             </xsl:call-template>
......
308 303
  <xsl:template name="textFixed">
309 304
        <xsl:param name="physicalfirstColStyle"/>
310 305
        <tr>
311
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed</td>
306
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Fixed:</td>
312 307
        <td  width="{$secondColWidth}">
313
          <table width="100%">
308
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
314 309
            <xsl:apply-templates>
315 310
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
316 311
            </xsl:apply-templates>
......
322 317
  <xsl:template name="textDelimited">
323 318
        <xsl:param name="physicalfirstColStyle"/>
324 319
        <tr>
325
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited</td>
320
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Text Delimited:</td>
326 321
        <td  width="{$secondColWidth}">
327
          <table width="100%">
322
          <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
328 323
            <xsl:apply-templates>
329 324
              <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
330 325
            </xsl:apply-templates>
......
336 331
  <xsl:template match="quoteCharacter">
337 332
        <xsl:param name="physicalfirstColStyle"/>
338 333
        <tr>
339
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Quote Character</td>
334
        <td class="{$physicalfirstColStyle}" width="{$firstColWidth}">Quote Character:</td>
340 335
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
341 336
        </tr>
342 337
  </xsl:template>
......
344 339
   <xsl:template match="literalCharacter">
345 340
       <xsl:param name="physicalfirstColStyle"/>
346 341
       <tr>
347
        <td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character</td>
342
        <td class="{$firstColStyle}" width="{$firstColWidth}">Literal Character:</td>
348 343
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
349 344
        </tr>
350 345
  </xsl:template>
......
353 348
  <xsl:template match="fieldDelimiter">
354 349
        <xsl:param name="physicalfirstColStyle"/>
355 350
        <tr>
356
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter</td>
351
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Delimeter:</td>
357 352
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
358 353
        </tr>
359 354
  </xsl:template>
360 355

  
361 356
  <xsl:template match="fieldWidth">
362 357
        <xsl:param name="physicalfirstColStyle"/>
363
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width</td>
358
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Field Width:</td>
364 359
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
365 360
        </tr>
366 361
  </xsl:template>
367 362
  
368 363
  <xsl:template match="lineNumber">
369 364
        <xsl:param name="physicalfirstColStyle"/>
370
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number</td>
365
        <tr><td class="{$firstColStyle}" width="{$firstColWidth}">Line Number:</td>
371 366
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
372 367
        </tr>
373 368
  </xsl:template>
......
375 370
  <xsl:template match="fieldStartColumn">
376 371
        <xsl:param name="physicalfirstColStyle"/>
377 372
        <tr>
378
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column</td>
373
        <td class="{$firstColStyle}" width="{$firstColWidth}">Field Start Column:</td>
379 374
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
380 375
        </tr>
381 376
  </xsl:template>
......
396 391
      <xsl:apply-templates>
397 392
        <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
398 393
      </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>
394
   </xsl:for-each>
406 395
  </xsl:template>
407 396
  
408 397
  <xsl:template match="formatName">
409 398
        <xsl:param name="physicalfirstColStyle"/>
410 399
        <tr>
411
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Name</td>
400
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Name:</td>
412 401
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
413 402
        </tr>
414 403
  </xsl:template>
......
416 405
  <xsl:template match="formatVersion">
417 406
        <xsl:param name="physicalfirstColStyle"/>
418 407
        <tr>
419
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Version</td>
408
        <td class="{$firstColStyle}" width="{$firstColWidth}">Format Version:</td>
420 409
        <td class="{$secondColStyle}" width="{$secondColWidth}"><xsl:value-of select="."/></td>
421 410
        </tr>
422 411
  </xsl:template>
......
424 413
  <xsl:template match="citation">
425 414
        <xsl:param name="physicalfirstColStyle"/>
426 415
        <tr>
427
        <td class="{$firstColStyle}" width="{$firstColWidth}">Citation</td>
416
        <td class="{$firstColStyle}" width="{$firstColWidth}">Citation:</td>
428 417
        <td class="{$secondColStyle}" width="{$secondColWidth}">
429 418
          <xsl:call-template name="citation">
430 419
            <xsl:with-param name="citationfirstColStyle" select="physicalfirstColStyle"/>
......
448 437
      <xsl:apply-templates>
449 438
        <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
450 439
      </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>
440
   </xsl:for-each>
458 441
  </xsl:template>
459 442
  
460 443
  <xsl:template match="rowColumnOrientation">
461 444
        <xsl:param name="physicalfirstColStyle"/>
462 445
        <tr>
463
        <td class="{$firstColStyle}" width="{$firstColWidth}">Orientation</td>
446
        <td class="{$firstColStyle}" width="{$firstColWidth}">Orientation:</td>
464 447
        <td class="{$secondColStyle}" width="{$secondColWidth}">
465 448
          <xsl:value-of select="."/>
466 449
        </td>
......
470 453
  <xsl:template match="multiBand">
471 454
        <xsl:param name="physicalfirstColStyle"/>
472 455
        <tr>
473
        <td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands</td>
456
        <td class="{$firstColStyle}" width="{$firstColWidth}">Multiple Bands:</td>
474 457
        <td class="{$secondColStyle}" width="{$secondColWidth}">
475
         <table width="100%">
458
         <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
476 459
            <tr>
477
                <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands</td>
460
                <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Spectral Bands:</td>
478 461
                <td class="{$secondColStyle}" width="{$secondColWidth}">
479 462
                <xsl:value-of select="./nbands"/>
480 463
              </td>
481 464
            </tr>
482 465
            <tr>
483
               <td class="{$firstColStyle}" width="{$firstColWidth}">Layout</td>
466
               <td class="{$firstColStyle}" width="{$firstColWidth}">Layout:</td>
484 467
               <td class="{$secondColStyle}" width="{$secondColWidth}">
485 468
               <xsl:value-of select="./layout"/>
486 469
               </td>
......
494 477
  <xsl:template match="nbits">
495 478
        <xsl:param name="physicalfirstColStyle"/>
496 479
        <tr>
497
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band)</td>
480
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bits (/pixel/band):</td>
498 481
        <td class="{$secondColStyle}" width="{$secondColWidth}">
499 482
          <xsl:value-of select="."/>
500 483
        </td>
......
504 487
  <xsl:template match="byteorder">
505 488
        <xsl:param name="physicalfirstColStyle"/>
506 489
        <tr>
507
        <td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order</td>
490
        <td class="{$firstColStyle}" width="{$firstColWidth}">Byte Order:</td>
508 491
        <td class="{$secondColStyle}" width="{$secondColWidth}">
509 492
          <xsl:value-of select="."/>
510 493
        </td>
......
514 497
  <xsl:template match="skipbytes">
515 498
        <xsl:param name="physicalfirstColStyle"/>
516 499
        <tr>
517
        <td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes</td>
500
        <td class="{$firstColStyle}" width="{$firstColWidth}">Skipped Bytes:</td>
518 501
        <td class="{$secondColStyle}" width="{$secondColWidth}">
519 502
          <xsl:value-of select="."/>
520 503
        </td>
......
524 507
  <xsl:template match="bandrowbytes">
525 508
        <xsl:param name="physicalfirstColStyle"/>
526 509
        <tr>
527
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row)</td>
510
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes (/band/row):</td>
528 511
        <td class="{$secondColStyle}" width="{$secondColWidth}">
529 512
          <xsl:value-of select="."/>
530 513
        </td>
......
534 517
  <xsl:template match="totalrowbytes">
535 518
        <xsl:param name="physicalfirstColStyle"/>
536 519
        <tr>
537
        <td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row)</td>
520
        <td class="{$firstColStyle}" width="{$firstColWidth}">Total Number of Byte (/row):</td>
538 521
        <td class="{$secondColStyle}" width="{$secondColWidth}">
539 522
          <xsl:value-of select="."/>
540 523
        </td>
......
544 527
  <xsl:template match="bandgapbytes">
545 528
        <xsl:param name="physicalfirstColStyle"/>
546 529
        <tr>
547
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands</td>
530
        <td class="{$firstColStyle}" width="{$firstColWidth}">Number of Bytes between Bands:</td>
548 531
        <td class="{$secondColStyle}" width="{$secondColWidth}">
549 532
          <xsl:value-of select="."/>
550 533
        </td>
lib/style/eml2/eml-spatialraster-2.0.0.xsl
40 40
      <xsl:param name="spatialrastersubHeaderStyle"/>
41 41
      <xsl:param name="docid"/>
42 42
      <xsl:param name="entityindex"/>
43
      <table class="tabledefault" width="100%">
43
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
        <xsl:choose>
45 45
         <xsl:when test="references!=''">
46 46
          <xsl:variable name="ref_id" select="references"/>
......
96 96
       <tr><td class="{$spatialrastersubHeaderStyle}" colspan="2">
97 97
        Physical Structure Description
98 98
      </td></tr>
99
    </xsl:if>
100
    <tr><td colspan="2">
101 99
      <xsl:for-each select="physical">
100
      <tr><td colspan="2">
102 101
        <xsl:call-template name="physical">
103 102
         <xsl:with-param name="physicalfirstColStyle" select="$spatialrasterfirstColStyle"/>
104 103
         <xsl:with-param name="notshowdistribution">yes</xsl:with-param>
105 104
        </xsl:call-template>
105
         </td></tr>
106 106
      </xsl:for-each>
107
    </td></tr>
107
    </xsl:if>
108 108
    <xsl:if test="coverage">
109 109
       <tr><td class="{$spatialrastersubHeaderStyle}" colspan="2">
110 110
        Coverage Description
......
364 364
            Projection
365 365
            </td>
366 366
            <td width="{$secondColWidth}" class="{$secondColStyle}">
367
               <table class="default" width="100%">
367
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
368 368
                 <xsl:for-each select="parameter">
369 369
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
370 370
                          <xsl:value-of select="./@name"/>
371 371
                         </td>
372 372
                         <td width="{$secondColWidth}" class="{$secondColStyle}">
373
                             <table class="default" width="100%">
373
                             <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
374 374
                                <tr>
375 375
                                    <td width="{$firstColWidth}" class="{$secondColStyle}">
376 376
                                      <xsl:value-of select="./@value"/>
......
402 402
            Altitude System Definition
403 403
            </td>
404 404
            <td width="{$secondColWidth}" class="{$secondColStyle}">
405
               <table class="default" width="100%">
405
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
406 406
                 <xsl:for-each select="altitudeDatumName">
407 407
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
408 408
                          Datum
......
448 448
            Depth System Definition
449 449
            </td>
450 450
            <td width="{$secondColWidth}" class="{$secondColStyle}">
451
               <table class="default" width="100%">
451
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
452 452
                 <xsl:for-each select="depthDatumName">
453 453
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
454 454
                          Datum
......
493 493
  
494 494
  <xsl:template name="geogCoordSysType">
495 495
   <xsl:param name="spatialrasterfirstColStyle"/>
496
   <table class="default" width="100%">
496
   <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
497 497
      <xsl:for-each select="datum">
498 498
        <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
499 499
             Datum
......
508 508
             Spheroid
509 509
            </td>
510 510
            <td width="{$secondColWidth}" class="{$secondColStyle}">
511
               <table class="default" width="100%">
511
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
512 512
                  <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
513 513
                       Name
514 514
                       </td>
......
540 540
             Prime Meridian
541 541
            </td>
542 542
            <td width="{$secondColWidth}" class="{$secondColStyle}">
543
               <table class="default" width="100%">
543
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
544 544
                  <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
545 545
                       Name
546 546
                       </td>
......
581 581
            Corner Point
582 582
            </td>
583 583
            <td width="{$secondColWidth}" class="{$secondColStyle}">
584
               <table class="default" width="100%">
584
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
585 585
                 <xsl:for-each select="corner">
586 586
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
587 587
                          Corner
......
627 627
            Control Point
628 628
            </td>
629 629
            <td width="{$secondColWidth}" class="{$secondColStyle}">
630
               <table class="default" width="100%">
630
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
631 631
                 <xsl:for-each select="column">
632 632
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
633 633
                          Column Location
......
682 682
            Bilinear Fit
683 683
            </td>
684 684
            <td width="{$secondColWidth}" class="{$secondColStyle}">
685
               <table class="default" width="100%">
685
               <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
686 686
                 <xsl:for-each select="xIntercept">
687 687
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
688 688
                          X Intercept
......
744 744
             Quantitative Report
745 745
            </td>
746 746
            <td width="{$secondColWidth}" class="{$secondColStyle}">
747
                <table class="default" width="100%">
747
                <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
748 748
                  <xsl:for-each select="quantitativeAccuracyReport">
749 749
                     <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
750 750
                         Accuracy Value
......
916 916
      ************************************************-->
917 917
  <xsl:template name="bandDescription">
918 918
    <xsl:param name="spatialrasterfirstColStyle"/>
919
    <table class="default" width="100%">
919
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
920 920
      <xsl:for-each select="sequenceIdentifier">
921 921
        <tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}">
922 922
            Sequence Identifier
lib/style/eml2/eml-literature-2.0.0.xsl
37 37
    <xsl:template name="citation">
38 38
      <xsl:param name="citationfirstColStyle"/>
39 39
      <xsl:param name="citationsubHeaderStyle"/>
40
      <table class="tabledefault" width="100%">
40
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
41 41
        <xsl:choose>
42 42
         <xsl:when test="references!=''">
43 43
          <xsl:variable name="ref_id" select="references"/>
lib/style/eml2/eml-method-2.0.0.xsl
36 36
 <xsl:template name="method">
37 37
  <xsl:param name="methodfirstColStyle"/>
38 38
  <xsl:param name="methodsubHeaderStyle"/>
39
  <table class="tabledefault" width="100%">
39
  <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
40 40
    <xsl:for-each select="methodStep">
41 41
     <tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}">
42 42
          <b>Step<xsl:text> </xsl:text><xsl:value-of select="position()"/>:</b>
lib/style/eml2/eml-spatialvector-2.0.0.xsl
40 40
      <xsl:param name="spatialvectorsubHeaderStyle"/>
41 41
      <xsl:param name="docid"/>
42 42
      <xsl:param name="entityindex"/>
43
      <table class="tabledefault" width="100%">
43
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
        <xsl:choose>
45 45
         <xsl:when test="references!=''">
46 46
          <xsl:variable name="ref_id" select="references"/>
47 47
          <xsl:variable name="references" select="$ids[@id=$ref_id]" />
48 48
          <xsl:for-each select="$references">
49
            <xsl:call-template name="spatialRastercommon">
49
            <xsl:call-template name="spatialVectorcommon">
50 50
             <xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
51 51
             <xsl:with-param name="spatialvectorsubHeaderStyle" select="$spatialvectorsubHeaderStyle"/>  
52 52
             <xsl:with-param name="docid" select="$docid"/>
......
55 55
          </xsl:for-each>
56 56
        </xsl:when>
57 57
        <xsl:otherwise>
58
           <xsl:call-template name="spatialRastercommon">
58
           <xsl:call-template name="spatialVectorcommon">
59 59
             <xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
60 60
             <xsl:with-param name="spatialvectorsubHeaderStyle" select="$spatialvectorsubHeaderStyle"/>  
61 61
             <xsl:with-param name="docid" select="$docid"/>
......
97 97
        Physical Structure Description
98 98
      </td></tr>
99 99
    </xsl:if>
100
    <tr><td colspan="2">
101
      <xsl:for-each select="physical">
100
    <xsl:for-each select="physical">
101
      <tr><td colspan="2">
102 102
        <xsl:call-template name="physical">
103 103
         <xsl:with-param name="physicalfirstColStyle" select="$spatialvectorfirstColStyle"/>
104 104
         <xsl:with-param name="notshowdistribution">yes</xsl:with-param>
105 105
        </xsl:call-template>
106
      </xsl:for-each>
107
    </td></tr>
106
        </td></tr>
107
     </xsl:for-each>
108
    
108 109
    <xsl:if test="coverage">
109 110
       <tr><td class="{$spatialvectorsubHeaderStyle}" colspan="2">
110 111
        Coverage Description
......
173 174
        Spatial Reference
174 175
      </td></tr>
175 176
      <xsl:call-template name="spatialReference">
176
        <xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
177
        <xsl:with-param name="spatialrasterfirstColStyle" select="$spatialvectorfirstColStyle"/>
177 178
      </xsl:call-template>
178 179
    </xsl:for-each>
179 180
    <xsl:for-each select="horizontalAccuracy">
......
181 182
        Horizontal Accuracy
182 183
      </td></tr>
183 184
      <xsl:call-template name="dataQuality">
184
        <xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
185
        <xsl:with-param name="spatialrasterfirstColStyle" select="$spatialvectorfirstColStyle"/>
185 186
      </xsl:call-template>
186 187
    </xsl:for-each>
187 188
    <xsl:for-each select="verticalAccuracy">
......
189 190
        Vertical Accuracy
190 191
      </td></tr>
191 192
      <xsl:call-template name="dataQuality">
192
        <xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
193
        <xsl:with-param name="spatialrasterfirstColStyle" select="$spatialvectorfirstColStyle"/>
193 194
      </xsl:call-template>
194 195
    </xsl:for-each>
195 196
    <xsl:for-each select="attributeList">
196
      <xsl:call-template name="spatialRasterAttributeList">
197
      <xsl:call-template name="spatialVectorAttributeList">
197 198
        <xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
198 199
        <xsl:with-param name="spatialvectorsubHeaderStyle" select="$spatialvectorsubHeaderStyle"/>  
199 200
        <xsl:with-param name="docid" select="$docid"/>
lib/style/eml2/eml-constraint-2.0.0.xsl
35 35
  <!-- This module is for constraint. And it is self contained-->
36 36
  <xsl:template name="constraint">
37 37
     <xsl:param name="constraintfirstColStyle"/>
38
     <table class="tabledefault" width="100%">
38
     <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
39 39
        <xsl:choose>
40 40
         <xsl:when test="references!=''">
41 41
          <xsl:variable name="ref_id" select="references"/>
......
185 185
      <tr><td width="{$firstColWidth}" class="{$constraintfirstColStyle}">
186 186
          &#160;</td>
187 187
          <td width="{$secondColWidth}" class="{$secondColStyle}">
188
           <table width="100%">
188
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
189 189
              <tr><td width="{$firstColWidth}" class="{$constraintfirstColStyle}">
190 190
                   <xsl:text>Parent</xsl:text></td>
191 191
                   <td width="{$secondColWidth}" class="{$secondColStyle}">
......
197 197
      <tr><td width="{$firstColWidth}" class="{$constraintfirstColStyle}">
198 198
          &#160;</td>
199 199
          <td width="{$secondColWidth}" class="{$secondColStyle}">
200
           <table width="100%">
200
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
201 201
              <tr><td width="{$firstColWidth}" class="{$constraintfirstColStyle}">
202 202
                   <xsl:text>Children</xsl:text></td>
203 203
                   <td width="{$secondColWidth}" class="{$secondColStyle}">
lib/style/eml2/eml-text-2.0.0.xsl
39 39
  <xsl:template name="text">
40 40
        <xsl:param name="textfirstColStyle" />
41 41
        <xsl:if test="(section and normalize-space(section)!='') or (para and normalize-space(para)!='')">
42
        <table class="tableparty" width="100%">
42
        <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
43 43
          <xsl:apply-templates  select="." mode="text"/>
44 44
        </table>
45 45
      </xsl:if>
......
77 77
  
78 78
  <!-- Section template for low level. Cteate a nested table and second column -->
79 79
  <xsl:template match="section" mode="lowlevel">
80
     <table class="tableparty" width="100%">
80
     <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
81 81
      <xsl:if test="title and normalize-space(title)!=''">
82 82
        <tr>
83 83
          <td width="10%" class="{$secondColStyle}">
lib/style/eml2/eml-resource-2.0.0.xsl
40 40
    <xsl:param name="resfirstColStyle"/>
41 41
    <xsl:param name="ressubHeaderStyle"/>
42 42
    <xsl:param name="creator">Data Set Owner(s):</xsl:param>
43
    <table class="tabledefault" width="100%">
43
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
44 44
      <xsl:for-each select="alternateIdentifier">
45 45
        <xsl:call-template name="resourcealternateIdentifier">
46 46
          <xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/>
lib/style/eml2/eml-coverage-2.0.0.xsl
37 37
  <!-- This module is for coverage and it is self contained(It is a table 
38 38
       and will handle reference by it self)-->
39 39
  <xsl:template name="coverage">
40
    <table class="tabledefault" width="100%">
40
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
41 41
        <xsl:choose>
42 42
         <xsl:when test="references!=''">
43 43
          <xsl:variable name="ref_id" select="references"/>
......
121 121
           Bounding Coordinates:
122 122
          </td>
123 123
       <td width="{$secondColWidth}">
124
         <table class="tabledefault" width="100%">
124
         <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
125 125
           <xsl:apply-templates select="westBoundingCoordinate"/>
126 126
           <xsl:apply-templates select="eastBoundingCoordinate"/>
127 127
           <xsl:apply-templates select="northBoundingCoordinate"/>
......
295 295
  </xsl:template>
296 296
  
297 297
  <xsl:template name="singleDateType">
298
    <table width="100%">
298
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
299 299
     <xsl:if test="calendarDate">
300 300
      <tr>
301 301
       <td width="100%" colspan="2" class="{$secondColStyle}">
......
378 378
     <tr><td width="{$firstColWidth}" class="{$firstColStyle}">
379 379
        <xsl:text>Taxonomic System:</xsl:text></td>
380 380
        <td width="{$secondColWidth}" class="{$secondColStyle}">
381
            <table width="100%" class="tabledefault">
381
            <table xsl:use-attribute-sets="cellspacing" width="100%" class="tabledefault">
382 382
              <xsl:apply-templates select="./*"/>
383 383
            </table>
384 384
        </td>
......
444 444
  <xsl:template match="vouchers">
445 445
      <tr><td width="{$firstColWidth}" class="{$firstColStyle}">Vouchers:</td>
446 446
        <td width="{$secondColWidth}" class="{$secondColStyle}">
447
        <table width="100%">
447
        <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
448 448
        <xsl:apply-templates select="specimen"/>
449 449
        <xsl:apply-templates select="repository"/>
450 450
        </table>
......
483 483
  <xsl:template match="taxonomicClassification">
484 484
    <tr><td width="{$firstColWidth}" class="{$firstColStyle}">
485 485
        <xsl:text>Classification:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
486
        <table width="100%">
486
        <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
487 487
        <xsl:apply-templates select="./*" mode="nest"/>
488 488
        </table>
489 489
        </td></tr>
......
514 514
          <xsl:text>Classification:</xsl:text>
515 515
        </td>
516 516
        <td width="{$secondColWidth}" class="{$secondColStyle}">
517
           <table class="tabledefault" width="100%">
517
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
518 518
             <xsl:apply-templates select="./*" mode="nest"/>
519 519
           </table>
520 520
        </td>
lib/style/eml2/eml-settings-2.0.0.xsl
102 102
    <xsl:param name="attributeindex"/>
103 103
<!-- the index of additional metadata-->    
104 104
    <xsl:param name="additionalmetadataindex"/>
105
<!-- attribute set to get rid of cell spacing-->
106
    <xsl:attribute-set name="cellspacing">
107
      <xsl:attribute name="cellpadding">0</xsl:attribute>
108
      <xsl:attribute name="cellspacing">0</xsl:attribute>
109
    </xsl:attribute-set>    
105 110

  
111

  
106 112
<!--
107 113
    /**
108 114
    *   The base URI to be used for the href link to each document in a
......
120 126
-->
121 127

  
122 128
    <xsl:param name="tripleURI"><![CDATA[@html-path@/servlet/metacat?action=read&qformat=@default-style@&docid=]]></xsl:param>
129
    
130
    <!-- URL for xmlformat-->
131
    <xsl:param name="xmlURI"><![CDATA[@html-path@/servlet/metacat?action=read&qformat=xml&docid=]]></xsl:param>
123 132

  
124 133

  
125 134
<!--
lib/style/eml2/eml-access-2.0.0.xsl
36 36
  <xsl:template name="access">
37 37
    <xsl:param name="accessfirstColStyle"/>
38 38
    <xsl:param name="accesssubHeaderStyle"/>
39
    <table class="tabledefault" width="100%">
39
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
40 40
        <xsl:choose>
41 41
         <xsl:when test="references!=''">
42 42
          <xsl:variable name="ref_id" select="references"/>
......
99 99
           <xsl:for-each select="allow">
100 100
           <tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}" valign="top">
101 101
            ALLOW:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
102
                    <table width="100%">
102
                    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
103 103
                        <tr><td width="{$secondColIndent}" valign="top" class="{$accessfirstColStyle}">
104 104
                        <xsl:for-each select="./permission">
105 105
                            <xsl:text>[</xsl:text><xsl:value-of select="."/><xsl:text>] </xsl:text>
......
117 117
           <xsl:for-each select="deny">
118 118
        <tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}" valign="top">
119 119
            DENY:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
120
           <table width="100%">
120
           <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
121 121
              <tr><td width="{$secondColIndent}" valign="top" class="{$accessfirstColStyle}">
122 122
                <xsl:for-each select="permission">
123 123
                    <xsl:text>[</xsl:text><xsl:value-of select="."/><xsl:text>] </xsl:text>
lib/style/eml2/eml-protocol-2.0.0.xsl
38 38
  <xsl:template name="protocol">
39 39
    <xsl:param name="protocolfirstColStyle"/>
40 40
    <xsl:param name="protocolsubHeaderStyle"/>
41
    <table class="tabledefault" width="100%">
41
    <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
42 42
        <xsl:choose>
43 43
         <xsl:when test="references!=''">
44 44
          <xsl:variable name="ref_id" select="references"/>
lib/style/eml2/eml-2.0.0.xsl
68 68
              href="{$stylePath}/{$qformat}.css" />
69 69
      </head>
70 70
      <body>
71
          <table width="100%">
71
          <table xsl:use-attribute-sets="cellspacing" width="100%" >
72 72
          <tr>
73 73
            <td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td>
74 74
            <td colspan="7"><div class="title">Biocomplexity Data Search</div>
......
163 163
                   </xsl:for-each>
164 164
                 </xsl:if>
165 165
              </xsl:otherwise>
166
       </xsl:choose>
166
     </xsl:choose>
167
     <!-- xml format-->
168
     <xsl:if test="$displaymodule='dataset'">
169
        <xsl:call-template name="xml"/>              
170
     </xsl:if>
167 171
   </xsl:template>
168 172
   
169 173
   <!--********************************************************
......
171 175
       ********************************************************-->
172 176
   
173 177
   <xsl:template name="emldataset">
174
      <table class="tabledefault" width="100%">
178
      <table xsl:use-attribute-sets="cellspacing"  class="tabledefault" width="100%">
175 179
          <xsl:if test="$displaymodule='dataset'">
176 180
             <xsl:call-template name="datasetpart"/>  
177 181
          </xsl:if>
......
741 745
       ********************************************************-->
742 746
   <xsl:template name="emlcitation">
743 747
       
744
        <table class="tabledefault" width="100%">
748
        <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
745 749
        <tr>
746 750
          <td width="100%" colspan="2">
747 751
             <right>
......
771 775
       ********************************************************-->
772 776
   
773 777
   <xsl:template name="emlsoftware">
774
     <table class="tabledefault" width="100%">
778
     <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
775 779
        <tr>
776 780
          <td width="100%" colspan="2">
777 781
             <right>
......
800 804
       ********************************************************-->
801 805
   
802 806
   <xsl:template name="emlprotocol">
803
      <table class="tabledefault" width="100%">
807
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
804 808
        <tr>
805 809
          <td width="100%" colspan="2">
806 810
             <right>
......
828 832
       ********************************************************-->
829 833
   <xsl:template name="additionalmetadataURL">
830 834
     <xsl:param name="index"/>
831
     <table class="default" width="100%">
835
     <table xsl:use-attribute-sets="cellspacing"  class="default" width="100%">
832 836
       <tr><td width="100%" class="{$subHeaderStyle}">
833 837
              <a><xsl:attribute name="href"><xsl:value-of select="$tripleURI"/><xsl:value-of select="$docid"/>&amp;displaymodule=additionalmetadata&amp;additionalmetadataindex=<xsl:value-of select="$index"/></xsl:attribute>
834 838
              <b>Additional Metadata</b></a>
......
836 840
       </tr>
837 841
     </table>
838 842
   </xsl:template>
839
    
843
     <!--********************************************************
844
                   download xml part
845
       ********************************************************-->
846
   <xsl:template name="xml">
847
     <xsl:param name="index"/>
848
     <table xsl:use-attribute-sets="cellspacing"  class="default" width="100%">
849
       <tr><td width="100%" class="{$subHeaderStyle}">
850
              <a><xsl:attribute name="href"><xsl:value-of select="$xmlURI"/><xsl:value-of select="$docid"/></xsl:attribute>
851
              <b>Original XML File</b></a>
852
           </td>
853
       </tr>
854
     </table>
855
   </xsl:template>
840 856
</xsl:stylesheet>

Also available in: Unified diff