4
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<templateml xmlns="http://www.s60.com/xml/templateml/1" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
3 |
<desc>Description field text</desc>
|
|
4 |
|
|
5 |
<output file="test7a.txt" encoding="UTF-8" dir="output">
|
|
6 |
<template>3 + 4 = {{ 3|sumfunc(4) }}</template>
|
|
7 |
</output>
|
|
8 |
|
|
9 |
<output file="test7b.txt" encoding="UTF-8" dir="output">
|
|
10 |
<template>3 ** 4 = {{ 3|powfunc(4) }}</template>
|
|
11 |
</output>
|
|
12 |
|
|
13 |
<output file="test7c.txt" encoding="UTF-8" dir="output">
|
|
14 |
<template file="../../templates/template3.txt"/>
|
|
15 |
</output>
|
|
16 |
|
|
17 |
<filters>
|
|
18 |
def sumfunc(a,b):
|
|
19 |
return a+b
|
|
20 |
</filters>
|
|
21 |
<filters file="../../filters/test_filter4.py"/>
|
|
22 |
</templateml>
|