Chris Withers writes:
 > Can someone explain the difference between:
 > 
 > <dtml-with "PARENTS[-1]">
 >  <dtml-with squishdot>
 >  ...do stuff here...
 >  </dtml-with>
 > </dtml-with>

Push the root (PARENTS[-1]) on the namespace stack.
Push squishdot on the namespace stack.
...do stuff here...

 > <dtml-with "PARENTS[-1].squishdot">
 >  ...do stuff here...
 > </dtml-with>

Push PARENTS[-1].squishdot on the namespace stack.
...do stuff here...

Now, when would this make a difference?


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to