[Zope] <dtml-tree> question

Chris Walter walter@budoe.bu.edu
21 Aug 1999 23:04:01 -0400


"Sean Robertson" <webolutionary@webolutionary.com> writes:

> >       <A HREF="<!--#var "particle.absolute_url()"-->/
> >          <!--#var tree-item-url-->?
> >          <!--#if tree-s-->tree-s=<!--#var tree-s--><!--#/if-->
> >          <!--#if tree-e-->&tree-e=<!--#var tree-e--><!--#/if-->
> >          <!--#if tree-c-->&tree-c=<!--#var tree-c--><!--#/if-->">
> >       <!--#var title_or_id--></a>
> >     <!--#/if-->
> >   <!--#/tree-->

Hi,

Now I remember having a similar problem when I did this too.  As I
recall the problem has to do with the whitespace in the line breaks in
the code above.  Edit your code and make sure that 

1) there is no extra space at the end of each of the lines
2) don't use spaces for the indent use a tab.

Hope this helps,

-Chris