Tidying up the templates, making sure is valid XML
[working/NCIPServer.git] / templates / response.tt
1    <[% messagetype %]>
2        <ResponseHeader>
3             <FromAgencyId>
4               <AgencyId>[% fromagency | trim%]</AgencyId>
5             </FromAgencyId>
6             <ToAgencyId>
7                <AgencyId>[% toagency | trim %]</AgencyId>
8             </ToAgencyId>
9         </ResponseHeader>
10     [% myfile = "includes/$messagetype" _ ".inc" %]
11     [% INCLUDE $myfile %]    
12     </[% messagetype %]>
13 </NCIPMessage>
14
15