[Zope] STX rendering not conform HTML standards?

Marco Catunda catunda@pobox.com
04 Jul 2002 20:13:23 -0300


Jaroslav,

	I have used Zope 2.5.1 and this problem was not happing.
	Which version are you using?

-- Marco Catunda



On Thu, 2002-07-04 at 08:23, Jaroslav Lukesh wrote:
> 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
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
>