Changeset 33036 for documentation
- Timestamp:
- 2019-04-24T22:20:03+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/processing/xml-to-wiki-index.xsl
r31778 r33036 7 7 8 8 <xsl:output method="text"/> 9 9 10 10 <xsl:variable name="currentfolder">gs<xsl:value-of select="$gs-major-version"/>-current</xsl:variable> 11 11 <xsl:variable name="es">Spanish</xsl:variable> 12 12 <xsl:variable name="fr">French</xsl:variable> 13 13 <xsl:variable name="ru">Russian</xsl:variable> 14 <xsl:variable name="sampledir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable> 15 <xsl:variable name="htmldir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable> 14 <!-- 15 <xsl:variable name="sampledir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable> 16 <xsl:variable name="htmldir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable> 17 --> 18 <xsl:variable name="server-scriptpath">http://wiki.greenstone.org/</xsl:variable> 19 <xsl:variable name="sampledir"><xsl:value-of select="$server-scriptpath"/>/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable> 20 <xsl:variable name="htmldir"><xsl:value-of select="$server-scriptpath"/>/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable> 16 21 <xsl:template match="TutorialList"> 17 22 '''<xsl:apply-templates select="Title/Text"/>'''<xsl:text> … … 30 35 31 36 </xsl:text> 32 ==[[<xsl:value-of select="$htmldir"/>/en/<xsl:value-of select="@id"/>.htm|<xsl:apply-templates select="Title/Text"/>]]== 37 **[[<xsl:value-of select="$htmldir"/>/en/<xsl:value-of select="@id"/>.htm|<xsl:apply-templates select="Title/Text"/>]]** 33 38 <xsl:for-each select="Content//Synopsis"> 34 39 ''<xsl:apply-templates/>''</xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.