[Zope] quick conversion from dtml-document to method

Andy McKay andy@agmweb.ca
Fri, 10 Jan 2003 10:49:09 -0800


> I have a few dtml-documents that should have been dtml-methods. (rookie 
> error, made before read Zope book).  Does anyone know a quick way to convert 
> these docs to methods?   

This is an old script I had lying around. Swap mention of method to 
document and vice versa and you're done. You will potentially lose 
information on the conversion for things such as security or properties.

http://www.zope.org/Members/andym/method_to_document
-- 
   Andy McKay