[Zope] Can one protect dtml from being rendered?

Bernd Worsch Bernd Worsch <bernd.worsch@frontsite.de>
Mon, 19 Mar 2001 19:08:14 +0100


Hi there!

My final question for today: When i generate a new document A and
take the document content from some kind of template B, is there
a way to get some dtml in the document rendered and some inserted
directly?

Suppose SomeVar holds 'SomeText' and AnotherVar holds 'AnotherText'.
        
How do i protect AnotherVar so that

<!-- begin B -->
  <dtml-var SomeVar>
  <dtml-var AnotherVar> 
<!-- end B -->

becomes

<!-- begin A -->
  SomeText
  <dtml-var AnotherVar>
<!-- end A -->

after insertion?

Thanks 
Bernd

-- 

-----Bernd Worsch-----------bernd.worsch@frontsite.de--------