[ZPT] Path expression

Shane Hathaway shane@zope.com
Fri, 19 Apr 2002 15:26:59 -0400


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