Jaxml looks like a pretty neat idea and I like it, but it solves very different use cases from ZPT. That said, if your use cases are more inline with Jaxml then use it. I would hesitate to call it a templating language though as the xml only exists at run time. It is really a very clever leveraging of Python syntax to generate xml. So it is aimed squarely at Python programmers as opposed to ZPT which aims at web developers who may not be "programmers". What I like best about it (Jaxml) is being completely isolated from any icky SGML syntax ;^), which as you can tell I am not terribly fond of... A more general question about it: can it generate DTDs? -Casey On Friday 09 August 2002 07:53 am, Jerome Alet wrote:
On Fri, Aug 09, 2002 at 10:05:28AM +0100, Peter Bengtsson wrote:
Speaking of which... Consider using jaxml and the HTML_document class there. Search google for "jaxml". Basically It works like this:
...
I use this module to generate XML and it works great! For HTML I'm not too sure but it appears to be working just fine.
Glad to see someone who is happy with this module ;-)
You can find it at :
http://www.librelogiciel.com/software/
It basically defines an XML_document class, the HTML_document ad CGI_document ones are just the same with some specific methods.
Just read the included samples to see how it works, or just ask me if you want.
bye,
Jerome Alet
_______________________________________________ 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 )