How do I use XML/XSLT in ZOPE?

ZOPE Page Templates (ZPT)

Translating XML with ZPT

The ZPT can be used for translating XML to HTML (as an alternative to XSLT). See for example: http://radio.weblogs.com/0116506/2005/10/05.html

Generating XML with ZPT

There appear to be difficulties generating pure XML using ZPT (as it is XML based) - see

http://mail.zope.org/pipermail/zope3-dev/2005-September/015546.html

Generating XML through a component

The best way to generate pure XML is to create your own data presentation component as described in both ZOPE3 books.


Using XSLT

XML/XSL as ZOPE Resources

It is quite possible to use XML/CSS/XSL files as resources in ZOPE and use XSLT to render them. The xParrot project takes exactly that approach.



( 98 subscribers )