[Zope] Getting a document's contents

Joshua Brauer Joshua.Brauer@colostate.edu
Tue, 15 Aug 2000 10:05:30 -0600


There is probably a simple solution that I'm overlooking here....

I have a folder (Parts) that contains dtml documents that are snippets of code. I want to include some of them which I have listed in a variable (select).

So I use code like this:

<dtml-with parts>
<dtml-in select>
<dtml-var "_.getitem('sequence-item')">
</dtml-in>
</dtml-with>

or this

<dtml-with parts>
<dtml-in select>
<dtml-var sequence-item>
</dtml-in>
</dtml-with>


In either case I get the name of sequence-item but I want the contents of sequence-item

Josh
-- 
-------------------------------------------------
Joshua Brauer
Computer Support Scientist
Department of Biochemistry and Molecular Biology
Colorado State University
Fort Collins, CO 80523
(970) 491-1080/pager:  (970) 498-7995, #5837
-------------------------------------------------