[ZPT] Show ZPT Code

Andreas Jung ajung at zopyx.com
Tue Jul 13 09:29:00 EDT 2004


look at the ZPT reference! hint: 'structure'

-aj

--On Dienstag, 13. Juli 2004 9:23 Uhr -0400 Will Smith <witisi at yahoo.com> 
wrote:

> Is thier a way in ZPT to show code.  Basically I have a pretty rough site
> for developement.  I would like to create a page that I can place certain
> snippets that would render correctly in a browser.
>
> For example:
>
> The Code
>
> 	<p>Title Code</p>
> 	<some tag>
> 	  <title tal:content="here/title">Page Title</title>
> 	</some tag>
>
> becomes
>
>          <p>Title Code</p>
>          &lt;title tal:content=&quot;here/title&quot;&gt;Page
> Title&lt;/title&gt;
>
> Renders in browser as
> 	Title Code
> 	<title tal:content="here/title">Page Title</title>
>
>
>
> Thanks in advance
> Will Smith
>
> _______________________________________________
> ZPT mailing list
> ZPT at zope.org
> http://mail.zope.org/mailman/listinfo/zpt



Andreas Jung
zopyx.com - Software Development and Consulting Andreas Jung


More information about the ZPT mailing list