I just started doing this using the Lotus XSL and a custom JRun code taglet.
It's extremely powerful and flexible. Performance is great because I'm
applying the xsl to the xml before page compilation.
Unfortunately, I had to do a few hacks to be able to use jsp in my xml,
since jsp isn't well-formed yet. Using taglets, you can implement most of
the elements in the jsp namespace, which isn't too bad a hack for now. The
real problem is that jsp 1.0 doesn't yet specify how to call jsp within an
attribute (angle brackets and quotes). Does anyone know when the spec will
address this issue? Anyone out there doing it now?
My hack was to create a code tagelet which dereferences certain entity
references, allowing me to put escaped jsp code in my attributes. Here's a
sample piece of code:
what you can't do:
<element att="<%=Request("parameter")%>" />
how I do it now:
{%
<element att="<%=Request("parameter")%>" />
%}
It looks pretty nasty, but I'm trying to keep most of the jsp code in the
xsl, so only the person developing the template has to see this. You can
use <jsp:eval> for code that is outside of an attribute, so the workaround
is livable.
I'm now in the process of defining a set of "web widgets" which are
basically xml elements with a set of xsl templates to give them the desired
look and feel.
Hope this helps.
-topher
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".