Frank Conradie wrote:
>
> > The xsl transformations actually work and create html code for a static
> > xml file matching the icalendar.xsd. The problems I was running into was
> > tying that back into Jetspeed/Turbine/database.
>
> Jeff, I was curious how you went about tying XSL transformations into
> Turbine. We want to use WebMacro to produce XML and then XSLT (through
> Xalan) on that to produce HTML, but the doBuild mechanism seems a bit
> limited. Also, Cocoon is a bit much for that.
>
> What I was thinking was that one could have a doStyle or doTransform after
> the doBuild, or something along those lines. Anyway, I'm still learning
> Turbine so I'm not sure what the best implementation would be. Any ideas?
Easy. Just use Xerces and Xalan directly. Get the content from
WebMacro, parse it out with a Reader and then pass that DOM Document on
to Xalan. Should work fine.
The only issue is getting the content from webmacro.. I don't know if
it is possible to get the content without going through HTTP but if you
can get an API level access and keep everything in memory it will be
faster.
Kevin
--
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN: "Please Open Source Java!"
"For evil to win is for good men to do nothing."
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]