You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by cyril vidal <cy...@wanadoo.fr> on 2002/03/16 19:12:24 UTC

Transformation XML->PDF

Hello,

I would like to transform an XML Document with Cocoon in a PDF one. I think
my two files sonnet.xml and sonnet.fo.xsl are correct (I've got them from a
tutorial)
I've created the directory PDFDemo in tomcat/webapps and put my two files in
this directory (PDFDemo).
But when I want to look to the transformation with
http://localhost:8080/PDFDemo/sonnet.xml, I've got the following message
error:
type Status report

message /PDFDemo/sonnet.xml

description The requested resource (/PDFDemo/sonnet.xml) is not available.

What's still wrong?

Thanks for your answers
Cyril.



---------------------------------------------------------------------
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: Transformation XML->PDF

Posted by cyril vidal <cy...@wanadoo.fr>.
Hello,

finally, I've put my two files sonnet.xml and sonnet.fo.xsl in the
tomcat\webapps\root directory and when I've called the adress
http://localhost:8080/sonnet.xml Tomcat was able to find it.
But without any xsl or fop transformation...

Does it mean I have to do the configuration Vadim is talking about in his
tutorial, that is:
2. Copy following libraries from the xml-cocoon2\lib\core directory to
> the %CATALINA_HOME%\common\lib directory:
>     xalan-2.3.1.jar
>     xercesImpl-2.0.0.jar
>     xml-apis.jar
>
> 3. Copy following library from the xml-cocoon2\lib\optional directory
to
> the %CATALINA_HOME%\common\lib directory:
>     batik-libs-1.1.1.jar
>
> 4. Remove xt-19991105.jar from the xml-cocoon2\lib\optional directory.
>
> 5. Edit extra-classpath parameter in the
> xml-cocoon2\src\webapp\WEB-INF\web.xml:
>     <init-param>
>       <param-name>extra-classpath</param-name>
>
>
<param-value>C:\Apache\jakarta-tomcat-4.0.3\common\lib\xalan-2.3.1.jar;C
>
:\Apache\jakarta-tomcat-4.0.3\common\lib\xercesImpl-2.0.0.jar;C:\Apache\
>
jakarta-tomcat-4.0.3\common\lib\xml-apis.jar;C:\Apache\jakarta-tomcat-4.
> 0.3\common\lib\batik-libs-1.1.1.jar</param-value>
>     </init-param>

Will it run after this?
Thanks for your answers,
Cyril.
----- Original Message -----
From: "cyril vidal" <cy...@wanadoo.fr>
To: <co...@xml.apache.org>
Sent: Saturday, March 16, 2002 7:12 PM
Subject: Transformation XML->PDF


> Hello,
>
> I would like to transform an XML Document with Cocoon in a PDF one. I
think
> my two files sonnet.xml and sonnet.fo.xsl are correct (I've got them from
a
> tutorial)
> I've created the directory PDFDemo in tomcat/webapps and put my two files
in
> this directory (PDFDemo).
> But when I want to look to the transformation with
> http://localhost:8080/PDFDemo/sonnet.xml, I've got the following message
> error:
> type Status report
>
> message /PDFDemo/sonnet.xml
>
> description The requested resource (/PDFDemo/sonnet.xml) is not available.
>
> What's still wrong?
>
> Thanks for your answers
> Cyril.
>
>
>
> ---------------------------------------------------------------------
> 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>