[Zope] dtml-with string

Chris Withers chrisw@nipltd.com
Thu, 22 Mar 2001 15:05:53 +0000


Peter Bengtsson wrote:
> 
> > > The problem is the string "PARENTS[0].xpto.xpto2"
> >
> > <dtml-with "PARENTS[0]">
> >  <dtml-with xpto>
> >   <dtml-with xpto2>
> >  ... do stuf here ...
> >   </dtml-with>
> >  </dtml-with>
> > </dtml-with>
> 
> Isn't that exactly the same as
> <dtml-with "PARENTS[0].xpto.xpt02">
> </dtml-with>

Nope... that's equivalent to:
> > <dtml-with "PARENTS[0]">
> >  <dtml-with xpto>
> >   <dtml-with xpto2 only>
> >  ... do stuf here ...
> >   </dtml-with>
> >  </dtml-with>
> > </dtml-with>
>