------------------------------------------------------------
revno: 7405
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Tue 2012-06-26 16:36:58 +0300
message:
  Add support for <parent /> in mfl2dxf2.xsl (kenya specific)
modified:
  
dhis-2/dhis-services/dhis-service-integration/src/main/resources/transform/mfl2dxf2.xsl


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-integration/src/main/resources/transform/mfl2dxf2.xsl'
--- dhis-2/dhis-services/dhis-service-integration/src/main/resources/transform/mfl2dxf2.xsl	2012-06-24 12:42:04 +0000
+++ dhis-2/dhis-services/dhis-service-integration/src/main/resources/transform/mfl2dxf2.xsl	2012-06-26 13:36:58 +0000
@@ -23,6 +23,15 @@
         <xsl:value-of select="mfl:Code" />
       </xsl:attribute>
 
+      <xsl:element name="dxf2:parent">
+        <xsl:attribute name="name">
+          <xsl:value-of select="mfl:District" />
+        </xsl:attribute>
+        <xsl:attribute name="code">
+          <xsl:value-of select="mfl:DistrictId" />
+        </xsl:attribute>
+      </xsl:element>
+
       <xsl:element name="dxf2:active">
         <xsl:value-of select="mfl:Active" />
       </xsl:element>

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to