Ignore:
Timestamp:
2002-08-20T10:21:20+12:00 (22 years ago)
Author:
kjdon
Message:

stylesheet improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/interfaces/default/transform/home.xsl

    r3335 r3360  
    77<xsl:output method="html"/> 
    88
    9 <xsl:template match="message">
     9<xsl:template match="page">
    1010<html>
    1111<xsl:call-template name="greenstoneHead"/>
     
    2525<xsl:template match="collectionList">
    2626<xsl:for-each select="collection">
    27 <p><a href="library?a=p&amp;sa=about&amp;c={@name}"><img width="150" border="1"><xsl:attribute name="src">sites/<xsl:value-of select="ancestor::message/system/@sitename"/>/collect/<xsl:value-of select="@name"/>/images/<xsl:value-of select="metadataList/metadata[@name='iconCollection']"/></xsl:attribute><xsl:attribute name="alt"><xsl:value-of select="metadataList/metadata[@name='colName']"/></xsl:attribute></img></a></p>
     27<p><a href="library?a=p&amp;sa=about&amp;c={@name}"><img width="150" border="1"><xsl:attribute name="src">sites/<xsl:value-of select="ancestor::page/config/site_name"/>/collect/<xsl:value-of select="@name"/>/images/<xsl:value-of select="metadataList/metadata[@name='iconCollection']"/></xsl:attribute><xsl:attribute name="alt"><xsl:value-of select="metadataList/metadata[@name='colName']"/></xsl:attribute></img></a></p>
    2828</xsl:for-each>
    2929<xsl:call-template name="greenBar"/>
    3030</xsl:template>
    3131
    32 
    33 <xsl:template match="serviceList">
    34 Services available are:
    35 
    36 Transforms:
    37 <xsl:for-each select="service[@type='transform']">
    38 <xsl:value-of select="@name"/>.
    39 </xsl:for-each>
    40 
    41 Enrichs:
    42 <xsl:for-each select="service[@type='enrich']">
    43 <xsl:value-of select="@name"/>.
    44 </xsl:for-each>
    45 
    46 Querys:
    47 <xsl:for-each select="service[@type='query']">
    48 <xsl:value-of select="@name"/>.
    49 </xsl:for-each>
    50 
    51 </xsl:template>
    52 
    53 
    5432</xsl:stylesheet> 
    5533
Note: See TracChangeset for help on using the changeset viewer.