← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1458: Fixed partial commit - missing test files

 

------------------------------------------------------------
revno: 1458
committer: Bob Jolliffe <bobj@bobj-laptop>
branch nick: trunk
timestamp: Sat 2010-02-20 11:44:28 +0000
message:
  Fixed partial commit - missing test files
added:
  dhis-2/dhis-services/dhis-service-importexport/src/test/resources/changeroot.xsl
  dhis-2/dhis-services/dhis-service-importexport/src/test/resources/transforms.xml


--
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.
=== added file 'dhis-2/dhis-services/dhis-service-importexport/src/test/resources/changeroot.xsl'
--- dhis-2/dhis-services/dhis-service-importexport/src/test/resources/changeroot.xsl	1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/test/resources/changeroot.xsl	2010-02-20 11:44:28 +0000
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+    <xd:doc xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"; scope="stylesheet">
+        <xd:desc>
+            <xd:p><xd:b>Created on:</xd:b> Feb 15, 2010</xd:p>
+            <xd:p><xd:b>Author:</xd:b> bobj</xd:p>
+            <xd:p></xd:p>
+        </xd:desc>
+    </xd:doc>
+
+<xsl:template match="change">
+    <dxf>
+        <xsl:apply-templates/>
+    </dxf>
+</xsl:template>
+    
+<!--    Identity-->
+    <xsl:template match="@*|node()">
+        <xsl:copy>
+            <xsl:apply-templates select="@*|node()"/>
+        </xsl:copy>
+    </xsl:template>
+    
+<xsl:template match="/">
+    <xsl:message>Hello World</xsl:message>
+    <xsl:apply-templates/>
+</xsl:template>
+
+</xsl:stylesheet>

=== added file 'dhis-2/dhis-services/dhis-service-importexport/src/test/resources/transforms.xml'
--- dhis-2/dhis-services/dhis-service-importexport/src/test/resources/transforms.xml	1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/test/resources/transforms.xml	2010-02-20 11:44:28 +0000
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<transforms>
+    <transform root="change" ns="">
+        <xslt>changeroot.xsl</xslt>
+        <description>Simple test transformer</description>
+    </transform>
+    <transform root="DataSet" ns="urn:sdmx:org.sdmx.infomodel.keyfamily.KeyFamily=SL-MOHS:ART-SUMMARY:1.0:cross">
+        <xslt>sl_art_summary1_2dxf.xsl</xslt>
+        <description>Translates Sierra Leone Art summary part 1 to dxf version 1</description>
+    </transform>
+</transforms>