~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnits.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<organisationUnits>
 
3
#foreach ( $unit in $object )
 
4
        <organisationUnit>
 
5
            <id>$unit.id</id>
 
6
            <name>$!encoder.xmlEncode( $unit.name )</name>
 
7
            <shortName>$!encoder.xmlEncode( $unit.shortName )</shortName>
 
8
            <code>$!encoder.xmlEncode( $unit.organisationUnitCode )</code>
 
9
            <openingDate>$!format.formatPeriod( $unit.openingDate )</openingDate>
 
10
            <closedDate>$!format.formatPeriod( $unit.closedDate )</closedDate>
 
11
            <active>$unit.active )</active>
 
12
            <comment>$!encoder.xmlEncode( $unit.comment )</comment>
 
13
            <geoCode>$!encoder.xmlEncode( $unit.geoCode )</geoCode>
 
14
            <latitude>$!encoder.xmlEncode( $unit.latitude )</latitude>
 
15
            <longitude>$!encoder.xmlEncode( $unit.longitude )</longitude>
 
16
        </organisationUnit>
 
17
#end
 
18
</organisationUnits>
 
 
b'\\ No newline at end of file'