RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-03 Thread Andy Yates
1:53 > À : zope@zope.org > Objet : RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict > > > Thanks! I've never used dtml for style sheets. I've always used page > templates and never had a problem 'til now. Also, I don't see a way to > set the co

RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-01 Thread Pascal Peregrina
I do exactly the same thing, except that I do it directly in the ZPT : Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Andy Yates Envoyé : jeudi 31 mars 2005 21:53 À : zope@zope.org Objet : RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 S

Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-01 Thread Stefan H. Holek
http://simplates.zetaweb.com/ On 31. Mär 2005, at 19:38, Andy Yates wrote: So, how do I make a dynamic style sheet that has the correct (text/css) content type? -- Software Engineering is Programming when you can't. --E. W. Dykstra ___ Zope maillist - Z

Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-01 Thread Chris Withers
Andy Yates wrote: Compilation failed xml.parsers.expat.ExpatError: syntax error: line 3, column 0 This just means you had an XML error in your css ZPT. Usually a missing close tag or / in a will do it. Don't use DTML, it's evil, you're doing the right thing already ;-) cheers, Chris -- Simplisti

RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-03-31 Thread Andy Yates
e to text/css. Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Winkler > Sent: Thursday, March 31, 2005 12:00 PM > To: zope@zope.org > Subject: Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict > > On Thu, Mar 3

Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-03-31 Thread Paul Winkler
On Thu, Mar 31, 2005 at 11:38:59AM -0600, Andy Yates wrote: > Am I going to have to write a python script to call the style sheet page > template and change the content type or is there a better way to handle > this? Page Templates are awkward to use for non-XML output. I never tried to use them f