"Fernando Lumbreras" <[EMAIL PROTECTED]> wrote:
>
>It's not supported by 4DOM python _xmlplus package. How can I redirect =
>de xml tree result to "response.write" of WebKit.

I just switched from PyXML's xml.dom (which is the same as 4DOM) to 
xml.dom.minidom because it was faster and complete enough for my purposes. 
Unlike minidom, though, you need to use various functions or classes in 
xml.dom.ext to prepare a serialised version of your document:

  * The xml.dom.ext.Print and PrettyPrint functions write XML documents
    to a stream.

  * The xml.dom.ext.XHtml2HtmlPrinter.XHtml2HtmlPrintVisitor class is
    initialised with a stream and can write XHTML documents as HTML.

I still use the second of these (or at least a bug-fixed version of my own) to 
output HTML for XMLForms, and it does work with minidom.

Paul

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to