You are not logged in Log in Join
You are here: Home » Members » xgwsbae » DTMLDocuments with integrated XSL Translation

Log in
Name

Password

 
 

Folder icon DTMLDocuments with integrated XSL Translation

XSL Translated Documents are just simple DTML Documents with one noteable difference: their output usually is text/xml and is automatically processed with a XML processor. You need an installed version of the 4SUITE XML suite to use this product. To specify a XSL stylesheet just insert appropriate XML processing instructions.

This is just a very simple hack, actually I only copied the Zope DTMLDocument and DTMLMethod products and changed very little with regard to the original product (mostly renaming of classes and integration of a few lines to run the 4SUITE XSLT Processor). In this regard it is very much like the nXMLDocument and UniXMLDocument products, just that it adds both Document and Method variations.

This product just uses Zope and 4SUITE XSLT Processor - no additional external server process is needed. If you want to include external XML sources, just write some PythonScript to pull in the XML sourcecode and deliver it with this little product to the XSLT processor.

The non-dependence on external servers makes this product quite easy to install and use. Just put the product's directory to your zope servers Products directory and install 4SUITE XML package somewhere in your Zope's python path. Start hacking. Drink beer.

 Title   Type   Size   Modified   Status 
 first public release Edit object Software Release   2002-04-25 published