Project

General

Profile

« Previous | Next » 

Revision 844

Added by berkley over 22 years ago

default css stylesheet so that metacat will look right

View differences:

resultset.xsl
194 194
               <xsl:if test="count(./relation) &gt; 0">
195 195
                 <xsl:for-each select="./relation">
196 196
                   <a>
197
                     <xsl:if test="starts-with(./relationdoc, 'http')">
197
                     <xsl:if test="starts-with(./triple, 'http')">
198 198
                       <xsl:attribute name="href">
199 199
                         <xsl:value-of select="./relationdoc" />
200 200
                       </xsl:attribute>
......
203 203
                         Variable Information
204 204
                       </xsl:if>
205 205
                       <xsl:if 
206
                        test="./relationdoctype = '-//NCEAS//eml-file//EN'">
206
                        test="./relationdoctype = '-//NCEAS//eml-entity-2.0//EN'">
207
                         Table Information
208
                       </xsl:if>
209
                       <xsl:if 
210
                        test="./relationdoctype = '-//NCEAS//eml-physical-2.0//EN'">
207 211
                         File Information
208 212
                       </xsl:if>
209 213
                       <xsl:if 
210
                        test="./relationdoctype = '-//NCEAS//eml-access//EN'">
214
                        test="./relationdoctype = '-//NCEAS//eml-distribution-2.0//EN'">
215
                         Distribution Information
216
                       </xsl:if>
217
                       <xsl:if 
218
                        test="./relationdoctype = '-//NCEAS//eml-access-2.0//EN'">
211 219
                         Access Information
212 220
                       </xsl:if>
213 221
                       <xsl:if 
......
215 223
                         Context Information
216 224
                       </xsl:if>
217 225
                       <xsl:if 
218
                        test="./relationdoctype = '-//NCEAS//eml-software//EN'">
226
                        test="./relationdoctype = '-//NCEAS//eml-software-2.0//EN'">
219 227
                         Software Information
220 228
                       </xsl:if>
221 229
                       <xsl:if 
......
235 243
                         Data File
236 244
                       </xsl:if>
237 245
                     </xsl:if>
238
                     <xsl:if test="starts-with(./relationdoc, 'metacat')">
246
                     <xsl:if test="starts-with(./triple, '')">
239 247
                       <xsl:attribute name="href">
240 248
                         <xsl:text>http://@server@@servlet-path@?action=read&amp;qformat=knb&amp;docid=</xsl:text>
241 249
                         <xsl:value-of select="./relationdoc" />
......
245 253
                         Variable Information
246 254
                       </xsl:if>
247 255
                       <xsl:if 
248
                        test="./relationdoctype = '-//NCEAS//eml-file//EN'">
256
                        test="./relationdoctype = '-//NCEAS//eml-entity-2.0//EN'">
257
                         Table Information
258
                       </xsl:if>
259
                       <xsl:if 
260
                        test="./relationdoctype = '-//NCEAS//eml-physical-2.0//EN'">
249 261
                         File Information
250 262
                       </xsl:if>
251 263
                       <xsl:if 
252
                        test="./relationdoctype = '-//NCEAS//eml-access//EN'">
264
                        test="./relationdoctype = '-//NCEAS//eml-distribution-2.0//EN'">
265
                         Distribution Information
266
                       </xsl:if>
267
                       <xsl:if 
268
                        test="./relationdoctype = '-//NCEAS//eml-access-2.0//EN'">
253 269
                         Access Information
254 270
                       </xsl:if>
255 271
                       <xsl:if 
......
257 273
                         Context Information
258 274
                       </xsl:if>
259 275
                       <xsl:if 
260
                        test="./relationdoctype = '-//NCEAS//eml-software//EN'">
276
                        test="./relationdoctype = '-//NCEAS//eml-software-2.0//EN'">
261 277
                         Software Information
262 278
                       </xsl:if>
263 279
                       <xsl:if 

Also available in: Unified diff