[Zope-xml] XML Transform 'behave_like' quibble

Jean Jordaan jean at upfrontsystems.co.za
Mon Sep 2 09:29:02 EDT 2002


I'm a bit uncomfortable with how 'behave_like' behaves. Say I have
this::

  /xml/source.xml
  /xml/transform
  /xml/registry/stylesheet.zpt

Now I could put DTML in 'stylesheet.zpt', and set 'transform' to
'behave_like' DTMLMethod. But that's UGLY! Why can't 'transform'
notice that its transformer is a ZPT (or DTMLMethod) and behave
accordingly?

-- 
Jean Jordaan
Upfront Systems                         http://www.upfrontsystems.co.za






More information about the Zope-xml mailing list