----- Original Message ----- From: Johan Carlsson <johanc@torped.se>
Still, there are many times when I'd like to be able to do XSLT-style manipulation of pages rather than embedding stuff.
That's an absolutely brilliant idee!
If this was a response to the quoted line which precedes it, you either didn't know what I meant by XSLT or leapt away on a tangent :-) I was talking about treating an HTML page as a DOM tree, and manipulating it with code like: doc['mybutton'].setAttribute('value', 'Whee!') doc.match('table//p').setContent('This is a paragraph in a table')
It would be nice to be able to include inline Python Methods inside a DTML Method/Document
No! Stop! Aieee! <mantra>separation of code and content. separation of code and content.</mantra> I will admit that it would be nice to associate a bunch of small Python functions with a Document without having to make a separate Zope object for each function. Perhaps a PythonMethodLibrary object? We'll see. Cheers, Evan @ digicool