root / pithos / api / templates / objects.xml @ b956618e
History | View | Annotate | Download (376 Bytes)
1 |
{% spaceless %} |
---|---|
2 |
<?xml version="1.0" encoding="UTF-8"?>
|
3 |
|
4 |
<container name="{{ container }}"> |
5 |
{% for object in objects %} |
6 |
{% if object.subdir %} |
7 |
<subdir name="{{ object.subdir }}" /> |
8 |
{% else %} |
9 |
<object>
|
10 |
{% for key, value in object.items %} |
11 |
<{{ key }}>{{ value }}</{{ key }}> |
12 |
{% endfor %} |
13 |
</object>
|
14 |
{% endif %} |
15 |
{% endfor %} |
16 |
</container>
|
17 |
{% endspaceless %} |