Re: [Zope-xml] Is there an easy way of using DocBook documents in Zope yet?

Craeg K Strong <[email protected]> Thu, 29 Aug 2002 13:03:50 -0400
Newsgroups gmane.comp.web.zope.parsed-xml
Organization Ariel Partners LLC
Message-ID <[email protected]>
Heh. I would tend to agree, but then again, I am the one who
posted XMLTransform :)

Using XMLTransform for this should be a no brainer.  This is
what it was designed for.

It still, however, gives you a choice of which kind of object
you use to store the actual XML and XSLT documents in.

I don't yet know how to grab an entire well-formed XML document as a
string from a ParsedXML object, but maybe others can enlighten me...

However, as I note in the docs, many other choices exist including
XMLFile from XMLKit.  It all depends on your requirements.
If you don't really care about manipulating the XML as NodeSets
but rather want to treat them more like documents, then
one of the Zope builtin object like DTMLDocument or PageTemplate
might be more appropriate...

Hope this helps,

--Craeg

Jean Jordaan wrote:
> Hi all
> 
> I've done
>   http://www.google.com/search?q=site:lists.zope.org+docbook
> and didn't come up with anything conclusive. Is there anyone using
> DocBook XML documents in Zope, and rendering them to HTML? Using the
> DocBook XSL stylesheets? After looking around a bit, it seems as if
> XMLTransform http://www.zope.org/Members/arielpartners/XMLTransform
> would be a good place to start. ParsedXML looks more like what one
> would need to treat XML as datastore. Any opinions?
> 
> TIA,