Project

General

Profile

« Previous | Next » 

Revision 1709

Added by Jing Tao about 21 years ago

Revise some templates.

View differences:

eml-2.0.0.xsl
68 68
              href="{$stylePath}/{$qformat}.css" />
69 69
      </head>
70 70
      <body>
71
        <table xsl:use-attribute-sets="cellspacing" width="100%">
72
         <tr><td>
71 73
          <table xsl:use-attribute-sets="cellspacing" width="100%" >
72 74
          <tr>
73 75
            <td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td>
......
127 129
          </td>
128 130
        </tr>  
129 131
       </table>
132
       </td>
133
       </tr>
130 134
        <xsl:apply-templates select="*[local-name()='eml']"/>
135
      </table>
131 136
      </body>
132 137
    </html>
133 138
   </xsl:template>
134 139
   
135 140
   <xsl:template match="*[local-name()='eml']">
141
     <tr><td>
136 142
       <xsl:for-each select="dataset">
137 143
         <xsl:call-template name="emldataset"/>
138 144
       </xsl:for-each>
......
145 151
       <xsl:for-each select="protocol">
146 152
         <xsl:call-template name="emlprotocol"/>
147 153
       </xsl:for-each>
154
     </td></tr>
155
     
148 156
       <!-- Additinal metadata-->
149 157
       <xsl:choose>
150 158
               <xsl:when test="$displaymodule='additionalmetadata'">
151 159
                   <xsl:for-each select="additionalMetadata"> 
152 160
                     <xsl:if test="$additionalmetadataindex=position()">
153
                        <xsl:call-template name="additionalmetadata"/>
161
                        <tr><td>
162
                            <xsl:call-template name="additionalmetadata"/>
163
                         </td></tr>
154 164
                     </xsl:if>
155 165
                  </xsl:for-each>
156 166
               </xsl:when>
157 167
               <xsl:otherwise>
158 168
                 <xsl:if test="$displaymodule='dataset'">
159 169
                   <xsl:for-each select="additionalMetadata">
160
                      <xsl:call-template name="additionalmetadataURL">
161
                        <xsl:with-param name="index" select="position()"/>
162
                      </xsl:call-template>
170
                      <tr><td>
171
                          <xsl:call-template name="additionalmetadataURL">
172
                             <xsl:with-param name="index" select="position()"/>
173
                          </xsl:call-template>
174
                      </td></tr>
163 175
                   </xsl:for-each>
164 176
                 </xsl:if>
165 177
              </xsl:otherwise>
166 178
     </xsl:choose>
167 179
     <!-- xml format-->
168 180
     <xsl:if test="$displaymodule='dataset'">
169
        <xsl:call-template name="xml"/>              
181
       <tr><td>
182
          <xsl:call-template name="xml"/> 
183
        </td></tr>             
170 184
     </xsl:if>
171 185
   </xsl:template>
172 186
   
......
200 214
      </table>
201 215
   </xsl:template>
202 216
   
203
   <!--*************** Data set part *************-->
217
   <!--*************** Data set diaplay *************-->
204 218
   <xsl:template name="datasetpart">
205 219
      <tr><td colspan="2" width="100%">
206 220
         <right>
......
218 232
      </tr>  
219 233
   </xsl:template>
220 234
   
221
   <!--************ Entity part *****************-->
235
   <!--************ Entity diplay *****************-->
222 236
   <xsl:template name="entitypart">
223 237
       <xsl:choose>
224 238
               <xsl:when test="references!=''">
......
253 267
      </tr>  
254 268
   </xsl:template>
255 269
   
256
   <!--************ Attribute part *****************-->
270
   <!--************ Attribute display *****************-->
257 271
    <xsl:template name="attributepart">
258 272
      <tr><td width="100%">
259 273
         <right>
......
280 294
      </tr>  
281 295
   </xsl:template>
282 296
   
283
   <!--************************Attribute Domain************************-->
297
   <!--************************Attribute Domain display module************************-->
284 298
   <xsl:template name="datasetattributedomain">
285 299
      <tr><td>
286 300
         <right>
......
296 310
   </xsl:template>
297 311
   
298 312
   
299
   <!--************************Attribute Method************************-->
313
   <!--************************Attribute Method display module************************-->
300 314
   <xsl:template name="datasetattributemethod">
301 315
      <tr><td>
302 316
         <right>
......
312 326
   </xsl:template>
313 327
   
314 328
   
315
   <!--************************Attribute Coverage************************-->
329
   <!--************************Attribute Coverage display module************************-->
316 330
   <xsl:template name="datasetattributecoverage">
317 331
     <tr><td>
318 332
         <right>
......
642 656
   
643 657
   
644 658
   
645
   <!--*************************Distribution Inline Data*****************-->
659
   <!--*************************Distribution Inline Data display module*****************-->
646 660
   <xsl:template name="datasetinlinedata">
647 661
      <tr><td>
648 662
         <right>

Also available in: Unified diff