[Zope] how do i escape a name with . in it?

Dieter Maurer dieter@handshake.de
Mon, 10 Jun 2002 20:36:14 +0200


Navindra Umanee writes:
 > I would like to invoke an operation along the lines of:
 > 
 > <dtml-in "dot.kde.org(sort_on='date',sort_order='reverse')" size=40>
Try:

	<dtml-in "_.getitem('dot.kde.org')(sort_on=...)">

This assumes you have an object with name "dot.kde.org" (apparently
a ZCatalog) accessible via your DTML namespace...

More information in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>



Dieter