On Mon, Apr 15, 2002 at 09:12:03AM +0200, Sven Kuenzler wrote:
> > > Something like that, yes. As I suggested, one could try to create a
> > > SAXFilter with a functionality similar to WW's core jsp taglib.  The
> other
> > > possibilty would be a XSLT extension. But as I said, I'd like to have
> the
> > > opportunity to reuse WW actions in C2. And integrating such an extension
> > > with C2 is not feasible, neither conceptually nor technically.
> >
> > The template engine of xdoclet look very promising to me. It should be
> > easy to implement some webwork tag handlers. Although -- I don't know if
> > its XML or text-based.
> 
> At a quick glance, I only found a configuration related class and a
> validator dealing with SAX events in XDoclet, so I'd guess it's text-based?

Yes, you're right, xdoclet seems to be text-based. I was irritated by
the xmlish template syntax.
> 
> Anyway, would it really be too hard to make a SAXFilter that clones WW's
> core taglib functionality? Normally, the tricky part with SAX are state
> keeping issues. But most of this state keeping stuff should be handled by
> the ValueStack already. Or am I wrong?

It's possible but not trivial -- tags that produce text are simle.
However, flow control and loop tags are tough because one must store the
events a "replay" them for every iteration. Aren't there any XML based
template engines out there?

-billy.

-- 
Meisterbohne       S�flinger Stra�e 100          Tel: +49-731-399 499-0
   eL�sungen       89077 Ulm                     Fax: +49-731-399 499-9

_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to