[Zope] Slicing In DTML
Geir Bækholt
Geir Bækholt <geirh@funcom.com>
Mon, 13 Jan 2003 12:43:07 +0100
on or about, Monday, January 13, 2003, we have reason to believe that beno =
wrote
something along the lines of :
> Hi;
> Is this legal syntax=3F Hard to test since I'd have to alter my sending H=
TTP=20
> header.
> <dtml-elif expr=3D"('&dtml-objectValue;')[2:]=3D=3D('&dtml-lang; lower')[=
2:]">
it is not apparent to me what you are comparing here, but for one, you
cannot nest dtml.
<dtml-elif expr=3D"objectValues()[2:]=3D=3Dlang[2:]">
would be legal syntax , but i doubt it would get you eanywhere.
Everything inside expr"" is interpreted as python statements..
I hope the example syntax can be of help, though..
:)
--=20
Geir B=E6kholt geir@funcom.com
Tools/HCI-developer
Tools/Billing - Product Operations
Funcom Oslo