[Zope-dev] Re: Access to xml files

Martijn Pieters mj@digicool.com
Wed, 1 Mar 2000 15:40:02 +0100


From: "gbl" <guy.blake@bauer-partner.de>
> I am looking at using the Zope version management properties integrated
> with a web publishing front-end to take advantage of xslt support.
> Therefore I need access to the files stored in Zope in their pure XML or
> HTML form i.e.NON-DTML corrupted.
>
> Is this possible?  If so how?
>
> I have looked at exporting the files but the exported files always
> contain DTML tags.  Another route is potentially through the ZPublisher
> again is this feasible and how would I go about achieving this?
>
> Thanks  in advance for any assistance

You mean you want the data after rendering? Just use ZClient:

  lib/python/ZPublisher/Client.py

It will enable you to call your Zope objects, it will give you the rendered
output.

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------