Changeset 25940 for documentation/trunk


Ignore:
Timestamp:
07/12/12 20:32:27 (9 years ago)
Author:
ak19
Message:

Directory structure of Greenstone wiki's tutorials on nzdl have changed. The wiki-index needs to be generated with the new directory structure.

File:
1 edited

Legend:

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

    r25472 r25940  
    88  <xsl:output method="text"/>
    99 
     10  <xsl:variable name="currentfolder">gs<xsl:value-of select="$gs-major-version"/>-current</xsl:variable>
    1011  <xsl:variable name="es">Spanish</xsl:variable>
    1112  <xsl:variable name="fr">French</xsl:variable>
    1213  <xsl:variable name="ru">Russian</xsl:variable>
    13   <xsl:variable name="sampledir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/sample_files</xsl:variable>
    14   <xsl:variable name="htmldir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial</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>
    1516  <xsl:template match="TutorialList">
    1617'''<xsl:apply-templates select="Title/Text"/>'''<xsl:text>
Note: See TracChangeset for help on using the changeset viewer.