[Zope3-Users] Literal double quoted string within single quoted attribute in ZPT

David Pratt fairwinds at eastlink.ca
Mon Dec 17 11:39:43 EST 2007


Hi. Is there solution for create a single quoted attribute using 
tal:attributes containing literal double quoted items. I am using a 
python method for generating the string. I understand structure will 
unquote but it does not work with an attribute. I see there is a new 
z3c.tal package based on lxml.  Will I have to go as far as customizing 
tal to do this? I realize this may be best on the zpt list but it it 
rarely if ever used these days. Many thanks.

Regards,
David

tal:attributes="attribute python:method()"

attribute='"a","b","c","d"'

instead of:

attribute="&quote;a&quote;,&quote;b&quote;,&quote;c&quote;"


More information about the Zope3-users mailing list