Mercurial > dive4elements > river
view flys-artifacts/contrib/extract-help.xsl @ 5784:efbbfe32e9fe
Fix dateFormat for Oracle by invoking dateValue on demand
Oracle does not return a date object but a oracle.sql.TIMESTAMP
object when querying a date. We now convert to a java date
by inviking the method dateValue if it is available.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 22 Apr 2013 16:18:16 +0200 |
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> </xsl:text> </xsl:template> <xsl:template match="text()"/> </xsl:stylesheet>