diff options
Diffstat (limited to 'xslt/sensuscsv.xslt')
-rw-r--r-- | xslt/sensuscsv.xslt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/xslt/sensuscsv.xslt b/xslt/sensuscsv.xslt index f873e98a1..9d2b0e32e 100644 --- a/xslt/sensuscsv.xslt +++ b/xslt/sensuscsv.xslt @@ -176,26 +176,4 @@ </sample> </xsl:template> - <xsl:template name="getFieldByIndex"> - <xsl:param name="index"/> - <xsl:param name="line"/> - <xsl:choose> - <xsl:when test="$index > 0"> - <xsl:call-template name="getFieldByIndex"> - <xsl:with-param name="index" select="$index -1"/> - <xsl:with-param name="line" select="substring-after($line, $fs)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="substring-before($line,$fs) != ''"> - <xsl:value-of select="substring-before($line,$fs)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$line"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:template> </xsl:stylesheet> |