... |
... |
@@ -122,41 +122,41 @@ |
122 |
122 |
<xsl:call-template name="formatDate"> |
123 |
123 |
<xsl:with-param name="dateTime" select="form/field[@name='tfZEIT_BIS']/plainValue" /> |
124 |
124 |
</xsl:call-template> |
125 |
|
- </ZEIT_BIS> |
126 |
|
- <BIS_UHR><xsl:value-of select="form/field[@name='tfBIS_UHR']/plainValue"/></BIS_UHR> |
127 |
|
- <ORT_LEERFA><xsl:value-of select="form/field[@name='tfORT_LEERFA']/plainValue"/></ORT_LEERFA> |
128 |
|
- <BEGRUENDG><xsl:value-of select="form/field[@name='tfBEGRUENDG']/plainValue"/></BEGRUENDG> |
129 |
|
- <!-- |
130 |
|
- <ORTSLAGE><xsl:value-of select="form/field[@name='tfORTSLAGE']/plainValue"/></ORTSLAGE> |
131 |
|
- <NOTIZ><xsl:value-of select="form/field[@name='tfNOTIZ']/plainValue"/></NOTIZ> |
132 |
|
- --> |
|
125 |
+ </ZEIT_BIS> |
|
126 |
+ <BIS_UHR><xsl:value-of select="form/field[@name='tfBIS_UHR']/plainValue"/></BIS_UHR> |
|
127 |
+ <ORT_LEERFA><xsl:value-of select="form/field[@name='tfORT_LEERFA']/plainValue"/></ORT_LEERFA> |
|
128 |
+ <BEGRUENDG><xsl:value-of select="form/field[@name='tfBEGRUENDG']/plainValue"/></BEGRUENDG> |
|
129 |
+ <!-- |
|
130 |
+ <ORTSLAGE><xsl:value-of select="form/field[@name='tfORTSLAGE']/plainValue"/></ORTSLAGE> |
|
131 |
+ <NOTIZ><xsl:value-of select="form/field[@name='tfNOTIZ']/plainValue"/></NOTIZ> |
|
132 |
+ --> |
133 |
133 |
<ORTSLAGE><xsl:value-of select="form/field[@name='edAnmerkungen']/plainValue"/></ORTSLAGE> |
134 |
|
- <NOTIZ><xsl:value-of select="form/field[@name='edAnmerkungen']/plainValue"/></NOTIZ> |
135 |
|
- <SACHGEBIET>Z</SACHGEBIET> |
136 |
|
- <FORMID><xsl:value-of select="form/field[@name='tfFORMID']/plainValue"/></FORMID> |
137 |
|
- <SERVICE_ID><xsl:value-of select="./@process-uid" /></SERVICE_ID> |
138 |
|
- </datensatz> |
139 |
|
- </daten> |
140 |
|
- </xsl:template> |
141 |
|
- <xsl:template name="formatDate"> |
142 |
|
- <xsl:param name="dateTime"/> |
143 |
|
- <xsl:variable name="day" select="substring-before($dateTime, '.')" /> |
144 |
|
- <xsl:variable name="month" select="substring-before(substring-after($dateTime, '.'), '.')" /> |
145 |
|
- <xsl:variable name="year" select="substring-after(substring-after($dateTime, '.'), '.')" /> |
|
134 |
+ <NOTIZ><xsl:value-of select="form/field[@name='edAnmerkungen']/plainValue"/></NOTIZ> |
|
135 |
+ <SACHGEBIET>Z</SACHGEBIET> |
|
136 |
+ <FORMID><xsl:value-of select="form/field[@name='tfFORMID']/plainValue"/></FORMID> |
|
137 |
+ <SERVICE_ID><xsl:value-of select="./@process-uid" /></SERVICE_ID> |
|
138 |
+ </datensatz> |
|
139 |
+ </daten> |
|
140 |
+ </xsl:template> |
|
141 |
+ <xsl:template name="formatDate"> |
|
142 |
+ <xsl:param name="dateTime"/> |
|
143 |
+ <xsl:variable name="day" select="substring-before($dateTime, '.')" /> |
|
144 |
+ <xsl:variable name="month" select="substring-before(substring-after($dateTime, '.'), '.')" /> |
|
145 |
+ <xsl:variable name="year" select="substring-after(substring-after($dateTime, '.'), '.')" /> |
146 |
146 |
|
147 |
|
- <xsl:choose> |
148 |
|
- <xsl:when test="$dateTime !=''"> |
149 |
|
- <xsl:value-of select="concat($year, '-', $month, '-', $day)" /> |
150 |
|
- </xsl:when> |
151 |
|
- <xsl:otherwise> |
152 |
|
- |
153 |
|
- </xsl:otherwise> |
154 |
|
- </xsl:choose> |
155 |
|
- </xsl:template> |
156 |
|
- <xsl:template name="formatWeight"> |
157 |
|
- <xsl:param name="weight"/> |
158 |
|
- <xsl:value-of select="translate($weight, ',', '.')" /> |
159 |
|
- </xsl:template> |
|
147 |
+ <xsl:choose> |
|
148 |
+ <xsl:when test="$dateTime !=''"> |
|
149 |
+ <xsl:value-of select="concat($year, '-', $month, '-', $day)" /> |
|
150 |
+ </xsl:when> |
|
151 |
+ <xsl:otherwise> |
|
152 |
+ |
|
153 |
+ </xsl:otherwise> |
|
154 |
+ </xsl:choose> |
|
155 |
+ </xsl:template> |
|
156 |
+ <xsl:template name="formatWeight"> |
|
157 |
+ <xsl:param name="weight"/> |
|
158 |
+ <xsl:value-of select="translate($weight, ',', '.')" /> |
|
159 |
+ </xsl:template> |
160 |
160 |
</xsl:stylesheet> |
161 |
161 |
{{/code}} |
162 |
162 |
{{/panel}} |