Ignore:
Timestamp:
2007-05-25T16:07:08+12:00 (17 years ago)
Author:
lh92
Message:

Added the Link template to match the http links in copyright statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl-documentation/manuals/processing/common.xsl

    r13861 r14096  
    188188    </xsl:for-each>
    189189  </xsl:template>
     190 
     191  <xsl:template match="Link">
     192    <xsl:choose>
     193      <xsl:when test="not(parent::Text)">
     194    <p><div style="margin-left: 2em;">
     195        <a><xsl:attribute name="href"><xsl:choose><xsl:when test="@url"><xsl:value-of select="@url"/></xsl:when><xsl:otherwise><xsl:value-of select="."/></xsl:otherwise></xsl:choose></xsl:attribute><xsl:value-of select="."/></a>
     196      </div></p>
     197      </xsl:when>
     198      <xsl:otherwise>
     199    <a><xsl:attribute name="href"><xsl:choose><xsl:when test="@url"><xsl:value-of select="@url"/></xsl:when><xsl:otherwise><xsl:value-of select="."/></xsl:otherwise></xsl:choose></xsl:attribute><xsl:value-of select="."/></a>
     200      </xsl:otherwise>
     201    </xsl:choose>
     202  </xsl:template>
    190203</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.