[Zope] STX rendering not conform HTML standards?

Jaroslav Lukesh lsh@wo.cz
Thu, 4 Jul 2002 13:23:29 +0200


Hi all,

I am sorry, if this question is easy, but I dont know solution.

When I have files in directory that is rendered as STX via this method:
----8<---------8<---------8<---------8<---------
<dtml-var standard_html_header>
<dtml-in expr="objectValues('DTML Document')">
	<dtml-var sequence-item fmt=structured-text>
</dtml-in>
<dtml-var standard_html_footer>
----8<---------8<---------8<---------8<---------


So rendered HTML code looks that:

----8<---------8<---------8<---------8<---------

<!-- standard HTML header begin -->
<html><head></head><body>
<!-- standard HTML header end -->

<html>
<body>
<p>Structured text file 1</p>
</body>
</html>
<html>
<body>
<p>Structured text file 2</p>
</body>
</html>

<!-- standard HTML footer begin -->
</body></html>
<!-- standard HTML footer end -->
----8<---------8<---------8<---------8<---------

Does somebody know what parameter need to be used to omit surplus
<html><body> tags?

Many thanks

             Jaroslav Lukesh