Aaarghhh!!! I want to print the following line exactly as it appears on a web page (no HTML coding). <!--#include file="header.inc" --> How do I do that in DTML without Zope cribbing about tags are not good? I got it to print it without using quotes like this <dtml-var expr="'<!--#include file=header.inc -->'"> However I need the quotes around header.inc too. I tried escaping quotes with \, but doesn't work. I don't want to put <!--include .... Zopistas, I think I'm missing something very basic here. HELP!!! Zope 2.1.6 on NT4. Browser IE5.5 on Win98. vsb http://easy.to/babu/
From: Satheesh Babu <vsbabu@csoft.net>
I want to print the following line exactly as it appears on a web page (no HTML coding). <!--#include file="header.inc" -->
These aren't general solutions, but off the top of my head (tested): <dtml-var expr=" '<' ">!--#include file="header.inc" --> <&dtml.missing--;!--#include file="header.inc" --> Cheers, Evan @ digicool & 4-am
participants (2)
-
Evan Simpson -
Satheesh Babu