From: "Andrew S. Townley" Date: 2009-03-28T03:27:44+09:00 Subject: Re: [ANN] tagz-5.0.0 On Sat, 2009-03-28 at 03:12 +0900, Florian Gilcher wrote: > On Mar 27, 2009, at 7:03 PM, Andrew S. Townley wrote: > > > > Who uses HTML4 anymore???? ;) > > > Actually, there are enough reasons for sticking with HTML. Especially > interesting is the point how most Browsers consume XHTML, to be found > in [1], section "HTML-compatible XHTML". Hi Florian, I hadn't seen this article, but I'm quite familiar with the differences. Generating (X)HTML with Tagz will be handy, but it isn't my primary interest. I want a really slick tool/syntax for generating complex XML documents using multiple namespaces and processing instructions. I've been doing this in various ways for several years, and nearly all of them suck -- equally and in different ways. One of the things I used to sorta like was Jakarta's Element Construction Set (ECS), but it was more complicated than it needed to be because of Java's syntax issues. I've also tried custom templates, various approaches to fragments, various templating languages, etc., etc.... Tagz is the first thing I've seen (accidentally, I might add) that finally allowed me to write quasi-markup in code vs. the other way around. It's also quite timely, because I once again need to generate a bunch of XML, but this time I'm using Ruby and it's looking like I'll be adopting Tagz across the board for what I'm doing. I'd already started doing embedded mark-up and was thinking about trying to fold in one of the template engines. Then I saw Ara's announcement and thought "Hallelujah! At last, a decent syntax for doing this!" Hopefully, the namespace PI stuff will make it into an official release at some stage. I can live with the (from an XML perspective) backwards view of element closure, because I understand where Ara (and probably most of you) are coming from and what the main interest in a library like this is. As sick as it is, thanks to Tagz, I'm actually sorta excited about writing code to generate XML instead of feeling the usual sense of tedium, dread and pending frustration. If I ever meet Ara, I'm buying him a pint! :) Cheers, ast -- Andrew S. Townley http://atownley.org