[Zope] [Q] Book problems with early examples

Michael R. Bernstein webmaven@lvcm.com
Tue, 03 Apr 2001 12:37:37 -0700


Carl David wrote:
> 
> I wrote concerning book examples, and was asked to clarify what was going
> on.
> Here is "navigation" which exists in root:
> <dtml-if expr="_.len(PARENTS) > 1">
> <h2><dtml-var title_or_id>Section</h2>
> <a href="..">Return to parent</a><br>
> </dtml-if>
> 
> <ul>
> <dtml-in expr="objectValues('Folder')">
> <li><a href="&dtml-absolute_url;">
> 
> <dtml-var title_or_id></a>
> <br></li></dtml-in>
> </ul>
>
> and here is index_html from /ChemAdm/FallSched:
>
> <dtml-var standard_html_header>
> <h1>This is the Fall Master Schedule</h1>
> <hr>Choose  from the above days of the
> week to
> see<hr>
> <dtml-tree>
> <dtml-var getId>
> </dtml-tree>
> <hr>
> <p>This is the <dtml-var id> Document in the FallSched folder.</p>
> <dtml-var standard_html_footer>
> 
> To the best of my knowledge there are no typos here, and yet ...

Ok. Now you've provided the code, so what were you expecting
to see, and what did you see instead?

Michael Bernstein.