2015-03-18 11:31:47 -04:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<package xmlns="http://www.lovullo.com/rater"
|
2013-02-13 09:27:33 -05:00
|
|
|
xmlns:c="http://www.lovullo.com/calc"
|
|
|
|
core="true"
|
|
|
|
desc="Territory data support (used in conjunction with tdat script)">
|
|
|
|
|
2015-03-18 11:31:47 -04:00
|
|
|
<import package="base" export="true" />
|
2013-02-13 09:27:33 -05:00
|
|
|
|
|
|
|
|
2015-03-18 11:31:47 -04:00
|
|
|
<template name="_terr-code_" desc="Defines a territory code for a given classification">
|
|
|
|
<param name="@class@" desc="Classification" />
|
|
|
|
<param name="@code@" desc="Territory code" />
|
|
|
|
<param name="@generates@" desc="Generator" />
|
2013-02-13 09:27:33 -05:00
|
|
|
|
2015-03-18 11:31:47 -04:00
|
|
|
<param name="@yields@" desc="Yield var">
|
|
|
|
<text>_</text>
|
|
|
|
<param-value name="@generates@" />
|
|
|
|
</param>
|
2013-02-13 09:27:33 -05:00
|
|
|
|
|
|
|
|
2015-03-18 11:31:47 -04:00
|
|
|
<rate-each class="@class@" accumulate="none" yields="@yields@" generates="@generates@" index="k">
|
2013-02-13 09:27:33 -05:00
|
|
|
<c:const value="@code@" type="integer" desc="Territory code" />
|
2015-03-18 11:31:47 -04:00
|
|
|
</rate-each>
|
|
|
|
</template>
|
|
|
|
</package>
|
|
|
|
|