[Zope] ZPT reading a file

Jay Dorsey jay at jaydorsey.com
Fri Dec 5 23:14:10 EST 2003


On Fri, Dec 05, 2003 at 08:12:13PM -0600, J. Cameron Cooper wrote:
<snip>
> >
> The 'structure' keyword has nothing to do with structured text: it has 
> to do with document structure. If what you're bringing into the document 
> contains layout structure (HTML) then you say "structure". Read the 
> description of 'tal:replace" in the Zope online help for the official 
> take. So: HTML (which is not intended to be viewed as such by the user) 
> requires 'structure' so as not to be escaped.
>
Thats what I wasn't understanding properly--I was thinking structure meant
structured text--so when I put structured text in my files, I put the word
structure there, and it didn't convert them to HTML like I (incorrectly)
assumed it it (I saw this conversion as part of ZWiki--but hadn't looked
into how it was done).  When I put the HTML in there, I kept removing the
word structure--when I put it back in there everything worked as expected.

Thank you for the clarification, and the references :)

-- 
Jay Dorsey
jay at jaydorsey dot com



More information about the Zope mailing list