Show
Ignore:
Timestamp:
03.08.2010 13:43:08 (10 years ago)
Author:
kjdon
Message:

added templates to handle displaying new gsdl_oaiinfo description element

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/web/style/oai2.xsl

    r22288 r22558  
    303303</xsl:template> 
    304304 
    305  
     305<!-- Identify / GSDL Info --> 
     306  <xsl:template match="id:gsdl" xmlns:id="http://www.greenstone.org/namespace/gsdl_oaiinfo/1.0/gsdl_oaiinfo"> 
     307    <h2> Description </h2> 
     308    <table class="values"> 
     309      <xsl:apply-templates select="id:Metadata"/> 
     310    </table> 
     311  </xsl:template> 
     312 
     313  <xsl:template match="id:Metadata" xmlns:id="http://www.greenstone.org/namespace/gsdl_oaiinfo/1.0/gsdl_oaiinfo"> 
     314    <tr><td class="key"><xsl:value-of select="@name"/></td> 
     315      <td class="value"><xsl:value-of select="."/></td></tr> 
     316  </xsl:template> 
    306317<!-- GetRecord --> 
    307318