File: city_template.xml

package info (click to toggle)
python-stetl 1.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 89,988 kB
  • sloc: python: 5,007; xml: 707; sql: 430; makefile: 155; sh: 50
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>