You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tim Darling <td...@glue.umd.edu> on 2001/08/29 00:08:55 UTC

How do you create dynamic XML content under Cocoon?

Sorry if this is easily answered, or has been answered many times but I
couldn't find any answers in the mailing list logs.

I have Tomcat serving *.xml files through Cocoon ok.

  If I add 
       <%@ page language="java" %>
  to the top of the .xml pages, I get a Cocoon error so apparently
  I can't have JSP in a Cocoon-handled XML page.. ?


Do I have to use servlet chaining with the Cocoon servlet..?  Thanks -T



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: How to use Jfor with Cocoon 1.8.2 ?

Posted by Sébastien Lefebvre <sl...@i2m.fr>.
Bertrand,

Reading the README file, I thought it was much more complicated than it is.
I'll keep you informed of my experience when I'll use more complicated 
features of jfor (images, tables ...)
I had no problem installing jfor on my system (I ran the minimum fo file 
successfully).
FYI, I use Apache 1.3.19 on linux RH7, Tomcat 3.2.2, Cocoon 1.8.2

Sébastien



>Bonjour Sébastien,
>
>>I'd like to use jfor in order to produce RTF file format.
>>
>
>Actually jfor is independent of FOP, and has to be configured as a separate 
>processor for Cocoon (1.x only, there is no jfor adaptor for Cocoon 2 yet).
>
>There are (sparse) instructions on how to configure jfor with Cocoon 1.x in 
>the README.TXT file that comes with the jfor source distribution, along with 
>FO files in the "samples" directory, that will help you to test jfor.
>
>If you configure jfor as indicated in the README, you will have to use the 
>following processing instruction to generate RTF:
>
><?cocoon-format type="xslfo/rtf"?> 
>
>Please let me know how this works for you, your feedback will help improve 
>jfor's documentation.
>




---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: How to use Jfor with Cocoon 1.8.2 ?

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
Bonjour Sébastien,

> I'd like to use jfor in order to produce RTF file format.

Actually jfor is independent of FOP, and has to be configured as a separate 
processor for Cocoon (1.x only, there is no jfor adaptor for Cocoon 2 yet).

There are (sparse) instructions on how to configure jfor with Cocoon 1.x in 
the README.TXT file that comes with the jfor source distribution, along with 
FO files in the "samples" directory, that will help you to test jfor.

If you configure jfor as indicated in the README, you will have to use the 
following processing instruction to generate RTF:

<?cocoon-format type="xslfo/rtf"?> 

Please let me know how this works for you, your feedback will help improve 
jfor's documentation.

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- jfor lead developer



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


How about releasing 1.8.3?! (was: How to use Jfor with Cocoon 1.8.2 ?)

Posted by Drasko Kokic <dr...@yahoo.com>.
Hi there,

I was wondering if there is a possibility to release
the 1.8.3 code from development!?

I still need to work with C1 but need the newer
releases of Xalan, Xerces, FOP, etc.

Which steps needs to be done?

TIA
Drasko

OT: Would anybody know how to use the XPathAPI class? 
I need to select values from within my java code in
XSP.  

--- S�bastien Lefebvre <sl...@i2m.fr> wrote:
> Hi,
> I'd like to use jfor in order to produce RTF file
> format.
> The last version of jfor runs on FOP 0.19.
> Cocoon 1.8.2 comes with Fop 0.15
> 
> FOP 0.19 also runs with newer version of Xerces and
> Xalan.
> 
> What do I have to do in order to upgrade the FO
> processing part of 
> Cocoon 1.8.2?
> 
> Thanks
> 
> S�bastien
> 
> 
> 
> 
>
---------------------------------------------------------------------
> 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:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


How to use Jfor with Cocoon 1.8.2 ?

Posted by Sébastien Lefebvre <sl...@i2m.fr>.
Hi,
I'd like to use jfor in order to produce RTF file format.
The last version of jfor runs on FOP 0.19.
Cocoon 1.8.2 comes with Fop 0.15

FOP 0.19 also runs with newer version of Xerces and Xalan.

What do I have to do in order to upgrade the FO processing part of 
Cocoon 1.8.2?

Thanks

Sébastien




---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: How do you create dynamic XML content under Cocoon?

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
>
> Sorry if this is easily answered, or has been answered many times but I
> couldn't find any answers in the mailing list logs.

For dynamic XML content Cocoon uses XSP (eXtensible Server Pages). Look at
the C2 site: http://xml.apache.org/cocoon2 and you will see a lot of links
to XSP stuff.

If you are not restricted to use JSP then XSP is the best way for dynamic
content generation. Otherwise, you can use either JspGenerator to generate
XML with JSP engine or wait until I will finish a JSPReader which I am
working on. JSPReader will allow you to use JSP output from sitemap without
need to use redirects.

>
> I have Tomcat serving *.xml files through Cocoon ok.
>
>   If I add
>        <%@ page language="java" %>
>   to the top of the .xml pages, I get a Cocoon error so apparently
>   I can't have JSP in a Cocoon-handled XML page.. ?
>
>
> Do I have to use servlet chaining with the Cocoon servlet..?  Thanks -T
>
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>