[Zope] dtml-var & xhtml

Jaroslav Lukesh lukesh at seznam.cz
Sat Apr 17 15:31:12 EDT 2004


sungmook at yahoo.com wrote:

> I see,
> what if I want to replace " to " ?
> i tried 
> <dtml-var
> "_.str(_['sequence-query']).replace('&','&amp;').replace('"','&qout;')">
> 
> but obviously it did not work...

<dtml-var "_.str(_['sequence-query']).replace('&','&amp;')" html_quote>

OR

<dtml-var 
"_.str(_['sequence-query']).replace('&','&amp;').replace('\"','&qout;')">

-- 

Jaroslav Lukeš

--
Tento e-mail nemůže obsahovat VIRY
jelikož nepocházi z virózního systému M$ Windows!




More information about the Zope mailing list