that´s what i do inside my app...

I use xerces to dinamicallly create the XML with some DB data..
then I dinamically generate the XSLT ( strange requirements from the
client ),
and I do the transformation with fop...

I haven´t been able to get it working yet
 javax.xml.transform.TransformerConfigurationException: stylesheet requires
attribute: version ) but I´ll figure it out soon... hopefully with some help
from someone here... =)

If there´s any help you might need.. then just ask... =)

Best Regards,

----- Original Message -----
From: "Bertrand Delacretaz" <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 2:44 AM
Subject: Re: Dynamically creating XML data for XSLT -> FOP

> Hi Thorsten,
> On Friday 31 May 2002 04:30, Thorsten wrote:
> > I have been using FOP both within Cocoon and as a servlet, using static
> > (data) and XSL files as input.
> >
> > Now I need to dynamically generate the XML data portion from within the
> > servlet (the XSL file would still be static.) What is the best approach
> > this?
> jdom (http://www.jdom.org) is a very good library for generating XML data
> dynamically, it allows you to manipulate XML documents at a higher level
> just DOM.
> Also, you might want to have a look at Cocoon
> which allows you to easily combine Generators (to produce XML),
> (XSL files for example) and Serializers (XML, PDF using FOP, RTF, etc.) to
> create many formats dynamically.
> --
>  Bertrand Delacrétaz (codeconsult.ch, jfor.org)
>  buzzwords: XML, java, XSLT, cocoon, mentoring/teaching/coding.
>  disclaimer: eternity is very long. mostly towards the end. get ready.

Reply via email to