[Zope] Create object from path

Robert Jean robertjean2@yahoo.com
Tue, 17 Jun 2003 12:17:37 -0700 (PDT)


Hello,

I want to build an object from its path (string).
In pseudo-code, it would be something like that:

obj = makeObject('/mySite/news/news06172003')
print obj.getId()

... assuming that news06172003 is a document located
in /mySite/news.

How do I achieve that in Python, DTML and/or ZPT? 

Your help is much appreciated,
Robert

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com