[Zope] XML and XSL question
Dieter Maurer
dieter@handshake.de
Sun, 18 Aug 2002 23:50:09 +0200
AM writes:
> Hi,
>
> I have a truckload of XML documents and an XSL file from an old web
> site. Originally each file was converted to HTML using msxslt and then
> published onto the website.
>
> I would like to be able to just upload all the XML files to the zope
> website and also put the XSL file up there, and be able to render HTML
> on the fly.
You can define a specialized "view" for these objects, implemented
by an ExternalMethod that performs the XSLT transformation.
The PyXML package contains an XSLT transformer ("4xslt").
When I used it some time ago, it was horribly slow.
The authors claim they made drastic improvements meanwhile (I did not
verify).
I would probably go for "libxml2", a set of XML processing tools
(including an XSLT processor) implemented in C with Python wrappers.
Search Google for "libxml".
Dieter