Changeset 26036 for documentation/trunk

Show
Ignore:
Timestamp:
30.07.2012 16:01:22 (7 years ago)
Author:
ak19
Message:

Added a Synopsis tag for content to be displayed in the wiki index. (The Synopsis tag does not get special treatment in the actual tutorial files generated, only the wiki index.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/processing/xml-to-wiki-index.xsl

    r25940 r26036  
    2323[<xsl:value-of select="$htmldir"/>/fr/index.html <xsl:value-of select="$fr"/>] 
    2424[<xsl:value-of select="$htmldir"/>/ru/index.html <xsl:value-of select="$ru"/>]<xsl:text> 
    25  
    2625</xsl:text> 
    2726    <xsl:apply-templates select="Tutorial"/> 
    2827  </xsl:template> 
    2928 
    30   <xsl:template match="Tutorial"> 
     29  <xsl:template match="Tutorial"><xsl:text> 
     30 
     31</xsl:text> 
    3132==[<xsl:value-of select="$htmldir"/>/en/<xsl:value-of select="@id"/>.htm <xsl:apply-templates select="Title/Text"/>]== 
     33<xsl:for-each select="Content//Synopsis"> 
     34''<xsl:apply-templates/>''</xsl:for-each> 
    3235    <xsl:for-each select="Content/Heading/Text"> 
    3336*<xsl:apply-templates/> 
    3437    </xsl:for-each> 
    3538  </xsl:template> 
    36      
     39 
    3740</xsl:stylesheet>