"Renzo" <[EMAIL PROTECTED]> writes: Hi Renzo
> in master.kid the code starts with: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > But, strangely (for me), when i look at the HTML code of the root > page, i see: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > Could anyone explain to me this behaviour? The doctype declaration is not used by Kid, instead a new one is supplied by the serializer. There are a couple of different serializers in Kid and I believe TurboGears defaults to the HTMLSerializer. This is also why your tags will be turned into upper-case, btw. See the documentation here: http://www.kid-templating.org/guide.html#serialization I think the doctype declarations in the templates are misleading and should be removed. -- Martin Geisler --- <[EMAIL PROTECTED]> --- http://mgeisler.net Read, write, create Exif data in PHP with PEL: http://pel.sf.net Take control of your webserver with PHP Shell: http://phpshell.sf.net
pgpoR96LsBEnl.pgp
Description: PGP signature

