moved tts to a better place ( I think )
[Pqsl-Perl.git] / PSQL-Query / lib / PSQL / Query / tt / xml.tt
blob75af33156958d3498ef8cdfbb0fe737b62272d0e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <query>
3 <plan>
4 [% WHILE ( row = query.shift_row ) %]
5 <action>
6 <name> [% row.name | html_entity %] </name>
7 <dom> [% row.dom_level | html_entity %] </dom>
9 <cost>
10 <startup> [% row.cost.startup | html_entity %] </startup>
11 <total> [% row.cost.total | html_entity %] </total>
12 <rows> [% row.cost.rows | html_entity %] </rows>
13 <width> [% row.cost.width | html_entity %] </width>
14 </cost>
16 <time>
17 <startup> [% row.time.startup | html_entity %] </startup>
18 <total> [% row.time.total | html_entity %] </total>
19 <rows> [% row.time.rows | html_entity %] </rows>
20 <loops> [% row.time.loops | html_entity %] </loops>
21 </time>
23 [% IF row.has_info %]
24 [% WHILE ( info = row.shift_info ) %]
25 <info>
26 <short> [% info.name | html_entity %] </short>
27 <long> [% info.verbose | html_entity %] </long>
28 </info>
29 [% END %]
30 [% END %]
32 </action>
33 [% END %]
34 </plan>
35 </query>