From 2f03819b38a6fd395cd9feaaf86244cca030fbed Mon Sep 17 00:00:00 2001 From: Evan Carroll Date: Sun, 9 Sep 2007 12:51:08 -0500 Subject: [PATCH] added accessability to the xhtml forms, and html entity encoding --- PSQL-Query/bin/xml.tt | 62 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 26 deletions(-) diff --git a/PSQL-Query/bin/xml.tt b/PSQL-Query/bin/xml.tt index e5c18f6..f40ea2e 100644 --- a/PSQL-Query/bin/xml.tt +++ b/PSQL-Query/bin/xml.tt @@ -9,53 +9,63 @@ + + + + + + - - + + + - - - - - - - - - - - + + + + + + + + + + + [% WHILE ( row = query.shift_row ) %] - - + + - - - - + + + + - - - - + + + + + [% IF row.has_info %] + [% ELSE %] + [% END %] -- 2.11.4.GIT
The following is a query plan outputed for %THIS QUERY% on %DATE, at %TIME.
- Cost Estimate Hi-Res Time Verbose Cost Estimate Hi-Res Time Verbose
Name Dom Level Startup Total Rows Width Startup Total Rows Loops Addl. Info Name Document Object Model Level Startup Total Rows Width Startup Total Rows Loops Additional Info
[% row.name %] [% row.dom_level %] [% row.name | html_entity %] [% row.dom_level | html_entity %] [% row.cost.startup %] [% row.cost.total %] [% row.cost.rows %] [% row.cost.width %] [% row.cost.startup | html_entity %] [% row.cost.total | html_entity %] [% row.cost.rows | html_entity %] [% row.cost.width | html_entity %] [% row.time.startup %] [% row.time.total %] [% row.time.rows %] [% row.time.loops %] [% row.time.startup | html_entity %] [% row.time.total | html_entity %] [% row.time.rows | html_entity %] [% row.time.loops | html_entity %]
    [% WHILE ( info = row.shift_info ) %]
  1. - [% info.name %] - [% info.verbose %] + [% info.name | html_entity %] + [% info.verbose | html_entity %]
  2. [% END %]
+ [% END %]