[Zope] XML --> Newbie --> DTML --> HTML?

Stuart Hungerford stuart.hungerford@webone.com.au
Tue, 10 Aug 1999 09:47:56 +1000


>
> See http://www.zope.org/pipermail/zope/1999-July/007010.html for the XML
> roadmap
>
> Robert Leftwich

   Thanks -- that's a very useful overview of where Zope is going with XML.
I still have a few
   newbie type questions though:

    - What do I need to add to the Zope 2.0b3 release to use XML documents?
Maybe the Python
       XML SIG stuff?

    - Suppose I had a bunch of XML documents with <spam> and <foo> elements:

                    <document>
                        <spam>
                            <foo>foo 1 element</foo>
                            <foo>foo 2 element</foo>
                         </spam>
                         ...
                     </document>

        And suppose I needed to convert <spam> elements to HTML <p> elements
and <foo>
        elements to HTML <H1> elements.  How difficult would it be to create
DTML methods
        in the "root" folder of a site that can be used via acquisition to
do this XML --> HTML
        processing anywhere a <document> document is used?


TIA,



Stu