[ZPT] Path expression

Paul Everitt paul@zope.com
Fri, 19 Apr 2002 21:22:49 -0400


In addition to the TALES spec wiki page, please remember that the Zope 
Book has excellent documentation on ZPT:

   http://www.zope.org/Documentation/ZopeBook/ZPT.stx
   http://www.zope.org/Documentation/ZopeBook/AdvZPT.stx
   http://www.zope.org/Documentation/ZopeBook/AppendixC.stx

Even better, the docs are now using ChrisM's BackTalk system.  This 
makes it *really* easy to find a spot and make a comment.  Chris and I 
are getting 75% of the comments handled (we get emailed) within the 
first 24 hours.

If you have a question on something that you think should be documented, 
or have some handy tips, please take 5 minutes and throw something in 
there.  We'll take care of the rest.

--Paul

Shane Hathaway wrote:
> Brent Hendricks wrote:
> 
>> Shane Hathaway wrote:
>>
>>> Have you tried:
>>>
>>> tal:content="here/?myvar | nothing"
>>>
>>> ?
>>>
>>> I just looked through the documentation and realized this syntax 
>>> might not be fully documented.
>>>
>>
>> "Might not be fully documented"??  I coudn't find any documentation on 
>> this at all! :) What exactly is it supposed to do?
> 
> 
> It uses the value of "myvar" to traverse.  So if "myvar" is set to 
> "title", you're effectively traversing to "here/title".
> 
> I've added a comment to the TALES spec 1.3 wiki page.
> 
> Shane
> 
> 
> 
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt