[Zope-xml] XML Transform 'behave_like' quibble
Jean Jordaan
jean at upfrontsystems.co.za
Mon Sep 2 12:06:03 EDT 2002
Craeg Strong wrote:
> behave_like specifies how the *result* of the transformation behaves.
Yes, I see that, that's about what I meant by:
>> Now I could put DTML in 'stylesheet.zpt', and set 'transform' to
>> 'behave_like' DTMLMethod.
For some metatypes, such as File or ExternalFile, it's unclear what
they should behave like, so you should manually set 'behave_like'. But
for ZPT and DTML, wouldn't it be helpful to make the Transform behave
like the type of the transformer by default? Sadists could still
override the default to make them 'behave_like' something else ;>
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
More information about the Zope-xml
mailing list