Changeset 26500

Show
Ignore:
Timestamp:
23.11.2012 00:15:51 (7 years ago)
Author:
davidb
Message:

Some white-space changes (indenting) and a comment added at the end to track a new gsf:xxx element that can be used in a collectionConfig.xml file (but doesn't actually need a definition in this file).

Files:
1 modified

Legend:

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

    r26467 r26500  
    7070        </script> 
    7171    </xsl:template> 
    72  
    7372 
    7473    <xsl:template match="gsf:style[@src]"> 
     
    108107    </xsl:template> 
    109108 
    110   <xsl:template match="params"></xsl:template> 
     109    <xsl:template match="params"></xsl:template> 
     110 
    111111    <xsl:template match="gsf:link"> 
    112112 
     
    452452    </xsl:template> 
    453453 
    454  
     454     
    455455  <xsl:template match="gsf:foreach-metadata"> 
    456456    <xsl:variable name="meta_name"><xsl:call-template name="getMetadataName"/></xsl:variable> 
     
    466466    <xslt:value-of select="."/> 
    467467  </xsl:template> 
    468     <xsl:template name="getMetadataName"> 
    469         <xsl:if test='@select'> 
    470             <xsl:value-of select='@select'/> 
    471             <xsl:text>_</xsl:text> 
    472         </xsl:if> 
    473         <xsl:value-of select="@name"/> 
    474     </xsl:template> 
     468 
     469  <xsl:template name="getMetadataName"> 
     470    <xsl:if test='@select'> 
     471      <xsl:value-of select='@select'/> 
     472      <xsl:text>_</xsl:text> 
     473    </xsl:if> 
     474    <xsl:value-of select="@name"/> 
     475  </xsl:template> 
    475476 
    476477 
     
    541542    </xsl:template> 
    542543 
     544    <!--  
     545         <gsf:headMetaTags> exists for controlling the <meta name="x" content="y"> elements that appear in the HTML <head></head> 
     546         XPATH is used to select this item (in header.xsl).  It does not need an explicit definition here in this file  
     547    --> 
     548 
    543549    <xsl:template match="*"> 
    544550        <xsl:copy>