Is there any zope-based way to apply an xsl template to data in a DTMLMethod? tom -- tom smith | tom@othermedia.com http://www.othermedia.com/blog tel 020 8541 5355 | fax 020 8541 5507 11 penrhyn road, kingston-upon-thames, london KT1 2BZ
Tom, Find attached the beginnings of what I call nXMLDocument. I made this sometime ago but never got around to finishing it the way I wanted to. It's a document type which has the ability to have it's content associated with an XSLT document (basically a DTML Method). The XML and XSLT can be built on the fly from DTML and all the other goodies, and then these are then brought together with the same namespace stack to create an output document. The stylesheet can be 'got' in a few ways, by setting a property on a document/folder etc in Zope or from a session (I think I've taken that out for the moment tho), and finally from the URL or a form. It's pretty quick depending on the XSLT processor used with it, I've tried a few so far including 4XSLT, Sablotron and MSXML3. Of these MSXML3 is fast and compliant, 4Suite is fairly slow but compliant, and Sablotron is just plain fastest but not too compliant (but getting better). It's still pretty much development stuff but it works and should give a good idea how to do this sort of thing. hth Phl ----- Original Message ----- From: "tom smith" <tom@othermedia.com> To: "zope zope.org" <zope@zope.org> Sent: Monday, March 26, 2001 7:29 PM Subject: [Zope] XSLT is zope
Is there any zope-based way to apply an xsl template to data in a DTMLMethod?
tom -- tom smith | tom@othermedia.com http://www.othermedia.com/blog tel 020 8541 5355 | fax 020 8541 5507 11 penrhyn road, kingston-upon-thames, london KT1 2BZ
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Phil Harris -
tom smith