[Zope] Expressions with strings with double-quotations?

Michel Pelletier michel@digicool.com
Tue, 21 Dec 1999 09:34:29 -0500


> -----Original Message-----
> From: Dave Parker [mailto:dparker@globalcrossing.com]
> Sent: Tuesday, December 21, 1999 8:51 AM
> To: zope@zope.org
> Subject: [Zope] Expressions with strings with double-quotations?
> 
> 
> Well, this may sound silly, but...
> 
> I've been having a heck of a time figuring out how to do DTML 
> expression
> which builds a string which contains a double-quotation mark in Zope
> 2.0.  I've tried \", which is supposed to be the Python 
> syntax for doing
> it, but to no avail.  Any ideas?
> 
> This is (theoretically) as in <dtml-var "'hello \" world'"> - 
> whenever I
> try anything like this Zope misses the escape and terminates the
> expression (colorfully)...

This can't be done; You can't get there from here.

-Michel