|
This is certainly an interesting approach and a good example of using the tools available to get something done.
However, storing XML in DTML documents would only be my second choice; If you're using Zope, using a product like ParsedXML (http://www.zope.org/Members/faassen/ParsedXML), seems more logical (but you would need some priveleges to install the product of course). This product will allow you to have xml documents right in your Zope tree. These xml documents can then be easily updated from Zope, by DTML method, Python Script or External method.
By the way, using self[idXml] would be more efficient than findFileInFolder. It raises an exception when the object is not found, but an exception would be raised anyway.
Douwe Osinga
http://douweosinga.com
|