cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seifert" <sseif...@pro-vision.de>
Subject AW: XML in database, how to pass to Cocoon?
Date Mon, 13 Aug 2001 16:15:50 GMT
ESQL is one of the builtin cocoon stylesheets, there are some samples in
the cocoon distribution and documataion about it in the cocoon docs.

> -----Urspr√ľngliche Nachricht-----
> Von: Kilmer, Erich [mailto:Erich.Kilmer@mmt.bellhowell.com]
> Gesendet: Montag, 13. August 2001 17:21
> An: 'cocoon-users@xml.apache.org'
> Betreff: RE: XML in database, how to pass to Cocoon?
> 
> 
> OK, I read up on ESQL and can see the database connection 
> params and SQL. Is
> this the way that I would read my XML from the database 
> rather than from a
> file?
> How does this integrate with Cocoon?
> Erich
> 
> -----Original Message-----
> From: Stefan Seifert [mailto:sseifert@pro-vision.de]
> Sent: Monday, August 13, 2001 10:41 AM
> To: cocoon-users@xml.apache.org
> Subject: AW: XML in database, how to pass to Cocoon?
> 
> 
> 
> > I have been using Cocoon 1 for a little while and have been 
> happy with
> the
> > results. Using the browser I can enter a URL that contains 
> the path to
> the
> > XML file and then Cocoon renders the PDF in the browser. This  works
> well.
> > Good job to all involved.
> > I do have a couple of questions though.
> > 
> > 1) The technique described above works well for XML files but in my
> > application I will read the XML from a blob in the database (which I
> know
> > how to do). Say I get the XML from the database and put it into a
> String. Is
> > there any hooks in Cocoon so that I can call a method and 
> pass it the
> XML
> > string? Where can I see the Cocoon servlets source?
> 
> Use the esql-Stylesheet with get-xml, with this you can put a XML tree
> from the database in you xml stream generated by cocoon. The 
> xml has to
> be wellformed in the database.
> 
> > 2) Has anyone managed to get background images working in FOP?
> 
> Never tried.
>  
> > 3) Has anyone managed to format dates in FOP?
> 
> Unfortunately XSLT has no date formatting functions. But you 
> can use the
> Java Core classes or you own classes for formatting in XSLT using the
> java extension support in Xalan. It's the xalan-specific, of 
> course. The
> XSLT 1.1 Specs define a product-inpdependet extension 
> support, but this
> does not work in the current xalan-version used by cocoon 2. See
> Xalan-Homepage on the apache website.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> 
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message