view flys-artifacts/contrib/extract-help.xsl @ 4902:e1566938d04c

Added new functions to datacage templating language. * get minimum of location/distance: dc:fromValue($ld_mode, $ld_locations, $ld_from) - returns -Double.MAX_VALUE if no min exists. * get maximum of location/distance: dc:toValue($ld_mode, $ld_locations, $ld_to) - returns Double.MAX_VALUE if no max exists.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 29 Jan 2013 17:11:26 +0100
parents ce6bea03156c
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="text"/>

  <xsl:param name="base-url">https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe</xsl:param>
  <xsl:param name="module">Fixierungsanalyse</xsl:param>

  <xsl:template match="//state">
      <xsl:value-of select="@helpText"/>=<xsl:value-of
              select="concat($base-url, '/', $module, '#', @helpText)"/>
      <xsl:text>&#10;</xsl:text>
  </xsl:template>

  <xsl:template match="text()"/>

</xsl:stylesheet>

http://dive4elements.wald.intevation.org