You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Georg Schmitt <ap...@georg-schmitt.de> on 2001/05/03 11:52:33 UTC

C2: fo2pdf Problem

Hello,

i have a problem with cocoon2 and fo2pdf. 

this is the code from my sitemap.xmap

--
   <map:match pattern="glossar.pdf">
    <map:generate type="serverpages" src="glossar/Test/simple.xsp"/>
    <map:transform src="glossar/xsl/glossar.xsl" />
    <map:transform src="glossar/Test/glossar_pdf.xsl"/>
    <map:serialize type="fo2pdf"/>
   </map:match>

   <map:match pattern="glossar1.pdf">
    <map:generate type="serverpages" src="glossar/Test/simple.xsp"/>
    <map:transform src="glossar/xsl/glossar.xsl" />
    <map:transform src="glossar/Test/glossar_pdf.xsl"/>
    <map:serialize/>
   </map:match>

   <map:match pattern="glossar2.pdf">
    <map:generate src="glossar/glossar1.fo"/>
    <map:serialize type="fo2pdf"/>
   </map:match>

--

when i want to see the glossar.pdf with internet Explorer or Netscape, i
see nothing.

But when i enter glossar1.pdf and save the source code in file
"glossar/glossar1.fo",
i see the document by entering glossar2.pdf in my browser


why does the glossar.pdf pattern not work?

regards,

  Georg



---------------------------------------------------------------------
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>