[ZPT] Re: Show ZPT Code
Will Smith
witisi at yahoo.com
Tue Jul 13 10:25:28 EDT 2004
Will Smith wrote:
> OK, I don't get it...
>
> 1. First Try
>
> <p tal:content="structure string:<b>bold text</b>"></p>
> is the same as
> <p><b>bold text</b></p>
>
> instead of
> <p><b;>bold text</b></p>
<p tal:content="string:<b>bold text</b>"></p>
works fine unless I want to show tal expressions
>
> 2. Second Try
>
> If I create a second template
>
> my_template
> <h1>Test</h1>
>
> Then call the template with "structure"
> <p tal:content="structure here/my_template"></p>
> I get
> <p><h1>Test</h1></p>
> instead of
> <p><h1;>Test</h1></p>
>
<p tal:content="here/my_template"></p>
again works fine unless the template has tal expressions
>
> Any additional help would be appreciated. I see all the code snippets
> on the zope site, and cannot imagine they where all entered by hand.
>
> Thanks,
> Will Smith
I want to show ZPT Code viewable by a browser.
Thanks,
Will Smith
More information about the ZPT
mailing list