[Mpuls-commits] r5670 - wasko/trunk/waskoweb/public/formed

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 28 15:42:08 CET 2011


Author: ludwig
Date: 2011-11-28 15:42:07 +0100 (Mon, 28 Nov 2011)
New Revision: 5670

Modified:
   wasko/trunk/waskoweb/public/formed/convert-wasko-meta.xsl
Log:
Wasko Meta: convert script for wsako s2c.
Add support_js, measure_name and model_place.



Modified: wasko/trunk/waskoweb/public/formed/convert-wasko-meta.xsl
===================================================================
--- wasko/trunk/waskoweb/public/formed/convert-wasko-meta.xsl	2011-11-25 17:21:13 UTC (rev 5669)
+++ wasko/trunk/waskoweb/public/formed/convert-wasko-meta.xsl	2011-11-28 14:42:07 UTC (rev 5670)
@@ -11,6 +11,8 @@
                 <master>
                     <rg_einrichtung>
                     <xsl:apply-templates select="cases/case/master/ks"/>
+                    <xsl:call-template name="support_js"/>
+                    <xsl:call-template name="measure_name"/>
                     <xsl:apply-templates select="cases/case/master/geburtsdatum"/>
                     <xsl:apply-templates select="cases/case/master/geschlecht"/>
                     <xsl:apply-templates select="cases/case/master/nat_land"/>
@@ -41,8 +43,17 @@
 
     <xsl:template match="ks">
         <name_einrichtung><xsl:value-of select="."/></name_einrichtung>
+        <model_place><xsl:value-of select="."/></model_place>
     </xsl:template>
 
+    <xsl:template name="support_js">
+        <support_js>1</support_js>
+    </xsl:template>
+
+    <xsl:template name="measure_name">
+        <measure_name>Schulverweigerung - Die 2.Chance</measure_name>
+    </xsl:template>
+
     <xsl:template match="geburtsdatum">
         <geburtsdatum><xsl:value-of select="substring(.,1,4)"/>-01-01</geburtsdatum>
     </xsl:template>



More information about the Mpuls-commits mailing list