[Zope] Code returns text instead of HTML

Nick Garcia ngarcia@codeit.com
Tue, 28 Mar 2000 16:30:47 -0800


"Baker, Dennis (sjmr)" wrote:
> 
> Sometimes when I reference other dtml documents I get the dtml code returned
> as text,  rather that outputting HTML like it should.  For example,  the
> code I have below will print out the standard header properly and then
> display the raw html where the Eligibility.MemberInfo document should be.
> What am I doing wrong?
> 
> <dtml-var standard_html_header>
> <dtml-in SQL_ViewMember>
>  <dtml-var "Eligibility.MemberInfo">
> </dtml-in>
> <dtml-var standard_html_footer>

This should work:

<dtml-var standard_html_header>
<dtml-in SQL_ViewMember>
  <dtml-with Eligibility>
    <dtml-var MemberInfo>
  </dtml-with>
</dtml-in>
<dtml-var standard_html_footer>

-- 
Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com