diff zpt/HTML_schema_table.zpt @ 70:9ec7e32e8ad3

working on maps nicer HTML (with xhtml DTD) better unicode handling for psycopg
author casties
date Tue, 23 Nov 2010 17:16:25 +0100
parents ed8db63fab4f
children efd2469d1722
line wrap: on
line diff
--- a/zpt/HTML_schema_table.zpt	Tue Nov 23 12:54:22 2010 +0100
+++ b/zpt/HTML_schema_table.zpt	Tue Nov 23 17:16:25 2010 +0100
@@ -1,4 +1,7 @@
-<html tal:define="layout python:request.get('layout','table'); element_id python:request.get('element_id',None); 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+  tal:define="layout python:request.get('layout','table'); element_id python:request.get('element_id',None); 
     schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table);
     fields data/fields; rows data/rows;">
   <head>