Chris Withers schrieb:
Hi Paul,

Just rad your excellent blog post at:

...and it made me wonder: what if ZPT had an xpath: expression type?

Your examples could become:

<li tal:repeat="i xpath:item/title/text()"
    tal:content="i">Item ID</li>

<li tal:repeat="i xpath:[EMAIL PROTECTED]/title/text()"
    tal:content="i">Item ID</li>

I don't reckon this is gonna be that hard to implement...

comments anyone?

OTOH I would love a ZPT implementation with less expression types; e.g. without 'python:', 'string:' and 'exists:' expressions. Read only templates.


ZPT mailing list

Reply via email to