Project

General

Profile

« Previous | Next » 

Revision 482

Added by berkley about 24 years ago

made package changes

View differences:

lib/marine/marine.xsl
350 350
                </xsl:attribute>
351 351
              </input>
352 352
              </form>
353
              <pre>Document ID: <xsl:value-of select="./docid"/></pre>
353 354
          </td>
354 355
          <td>
355 356
            <font size="2">
356 357
              <xsl:value-of select="./param[@name='resource/dataset/title']"/>
357
              <br/>
358
              <br/><br/>
358 359
              <b>Related Documents:</b><br/>
359 360
            </font>
360 361
            <xsl:if test="count(./relation) &gt; 0">
......
363 364
              <xsl:text>&nbsp;</xsl:text><xsl:text>&nbsp;</xsl:text>
364 365
              <xsl:text>&nbsp;</xsl:text><xsl:text>&nbsp;</xsl:text>
365 366
                <a>
366
                  <xsl:attribute name="href">
367
                    <xsl:text>http://dev.nceas.ucsb.edu/@html-path@/servlet/marine/?action=getrelateddocument&amp;qformat=html&amp;url=</xsl:text>
367
                  <xsl:if test="starts-with(./relationdoc, 'http')">
368
                    <xsl:attribute name="href">
369
                      <xsl:value-of select="./relationdoc" />
370
                    </xsl:attribute>
371
                    <xsl:value-of select="./relationdoc"/>
372
                  </xsl:if>
373
                  <xsl:if test="starts-with(./relationdoc, 'metacat')">
374
                    <xsl:attribute name="href">
375
                      <xsl:text>http://dev.nceas.ucsb.edu@html-path@/servlet/marine/?action=getrelateddocument&amp;qformat=html&amp;url=</xsl:text>
376
                      <xsl:value-of select="./relationdoc" />
377
                    </xsl:attribute>
368 378
                    <xsl:value-of select="./relationdoc" />
369
                  </xsl:attribute>
370
                  <xsl:value-of select="./relationdoc" />
379
                  </xsl:if>
371 380
                </a>
372 381
                <br/>
373 382
              </xsl:for-each>

Also available in: Unified diff