Changeset 22558 for main


Ignore:
Timestamp:
2010-08-03T13:43:08+12:00 (14 years ago)
Author:
kjdon
Message:

added templates to handle displaying new gsdl_oaiinfo description element

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.