Bummer. Well, I'm trying to call a script that will render content to the Web, like this:<br>
&lt;a tal:attributes="href python:here.a_script(str(x))"&gt;<br>
which calls a script that does this:<br>
return "&lt;html&gt;&lt;body&gt;" + x + "&lt;/body&gt;&lt;/html&gt;"<br>
but of course it delivers this to the browser:<br>
&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;x&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;<br>
Any way to work around this problem?<br>
TIA,<br>
Tony<br>
<br>
<br>
-----Original Message-----<br>
From: Andreas Jung &lt;lists@zopyx.com&gt;<br>
To: tonylabarbara@aol.com; zope@zope.org<br>
Sent: Wed, 15 Aug 2007 10:20 am<br>
Subject: Re: [Zope] How Do I "Structure" This?<br>
<br>


<div id=AOLMsgPart_1_b42b6463-b894-4ee5-8489-fc4f44bad0d4 style="FONT-SIZE: 12px; MARGIN: 0px; COLOR: #000; FONT-FAMILY: Tahoma, Verdana, Arial, Sans-Serif; BACKGROUND-COLOR: #fff">&nbsp;<br>
--On 15. August 2007 10:17:56 -0400 <A href="mailto:tonylabarbara@aol.com">tonylabarbara@aol.com</A> wrote:&nbsp;<br>
&nbsp;<br>
&gt; Hi;&nbsp;<br>
&gt; I have the following PT code:&nbsp;<br>
&gt; &lt;a tal:attributes="href python:here.a_script(str(x))"&gt;&nbsp;<br>
&gt; and I want to "structure" it, kind of like this:&nbsp;<br>
&gt; &lt;a tal:attributes="structure href python:here.a_script(str(x))"&gt;&nbsp;<br>
&gt; How do I do that?&nbsp;<br>
&nbsp;<br>
As documented, 'structure' only works with tal:content|replace.&nbsp;<br>
&nbsp;<br>
-aj&nbsp;<br>
</div>
<!-- end of AOLMsgPart_1_b42b6463-b894-4ee5-8489-fc4f44bad0d4 --><div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
AOL now offers free email to everyone.  Find out more about what's free from AOL at <a href="http://www.aol.com?ncid=AOLAOF00020000000437" target="_blank"><b>AOL.com</b></a>.<br />
</div>