"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > Hi, > > finally my small template-test works! > I've added a DOCTYPE to the template: > <!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" > xmlns:py="http://purl.org/kid/ns#"> > <head><title>test</title></head> > <body><br /></body> > </html> > > [...] > > I've tried setting a doctype and xmlns=... in the kid-file of my > turbogears-project but there I still got those nasty <br></br>-tags > :-\. (kid.outputformat is set to xhtml, so I can't understand why > kid/turbogears creates those crazy tags... I hope anyone here can)
I'm glad you got it working, albeit in a strange way... :-) Unfortunately I'm out of ideas since I cannot reproduce the <br></br> issue here with my installation of TurboGears (also 0.9a9 from Debian). I get the same output with kid.outputformat set to xml and xhtml, except for the document type and XML declaration, but that is to be expected as per the Kid Language Guide. -- 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
pgpUTIhSZD0Iy.pgp
Description: PGP signature

