File: city_template.xml

package info (click to toggle)
python-stetl 1.0.9%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 89,428 kB
  • ctags: 720
  • sloc: python: 3,527; xml: 699; sql: 428; makefile: 153; sh: 45
file content (8 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
<?xml version='1.0' encoding='utf-8'?>
<!-- A very basic template, to be substituted by values from csv. -->
<city>
    <name>$city</name>
    <lat>${lat}</lat> <!-- either $$ or $${}  allowed (we're escaping here) -->
    <lon>$lon</lon>
    <desc>The city of $city is at location $lon, $lat</desc>
</city>