Ignore:
Timestamp:
2003-07-02T16:48:26+12:00 (21 years ago)
Author:
kjdon
Message:

am working on the xslt, but thought I'd better commit what I've done. will check whether it works properly tomorrow :-)

File:
1 edited

Legend:

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

    r4731 r4866  
    5757  </xsl:template>
    5858
    59   <xsl:template match="gsf:metadata">   
    60     <xsl:choose>
     59  <xsl:template match="gsf:metadata">
     60    <xslt:value-of disable-output-escaping="yes"><xsl:attribute name="select">metadataList/metadata[@name="<xsl:if test="@select='parent'">parent_</xsl:if><xsl:if test="@select='ancestors'">ancestors'<xsl:value-of select='@separator'/>'_</xsl:if><xsl:value-of select="@name"/>"]</xsl:attribute></xslt:value-of>
     61  </xsl:template>
     62  <!--  <xsl:choose>
    6163      <xsl:when test="@select='parent'">
    6264    <xslt:value-of><xsl:attribute name="select">parent::node()/metadataList/metadata[@name='<xsl:value-of select="@name"/>']</xsl:attribute></xslt:value-of>
     
    6971      </xsl:otherwise>
    7072    </xsl:choose>
     73  </xsl:template>-->
     74
     75 
     76  <xsl:template match="gsf:text">
     77    <xslt:apply-templates select="nodeContent"/>
    7178  </xsl:template>
    72 
    73 <!--
    74   <xsl:template match="gsf:text">
    75 TODO
    76   </xsl:template>
    77 -->
     79 
    7880  <xsl:template match="*">
    7981    <xsl:copy>
Note: See TracChangeset for help on using the changeset viewer.