Commit 18a71f16 authored by Stephane Crozat's avatar Stephane Crozat
Browse files

Adding variable year to XSLT and setting to 2020 #WORKAROUND #TODO

parent 50efce17
......@@ -10,6 +10,8 @@
<xsl:output method="text"></xsl:output>
<xsl:variable name="year">2020</xsl:variable>
<xsl:variable name="logintitle">Login UTC du responsable UTC</xsl:variable>
<xsl:template match="/sc:item">
......@@ -66,7 +68,7 @@
</xsl:variable>
INSERT INTO api (id,dbegin,code,name,description,duration,size,ects,resplogin) VALUES (
<xsl:value-of select="$id"/>,
TO_DATE('<xsl:value-of select="$begin"/>/19','DD/MM/YY'),
TO_DATE('<xsl:value-of select="$begin"/>/<xsl:value-of select="$year"/>','DD/MM/YYYY'),
<xsl:value-of select="$code"/>,
'<xsl:value-of select="$title"></xsl:value-of>',
'<xsl:value-of select="$longtitle"></xsl:value-of>',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment