cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Schmitt" <apa...@georg-schmitt.de>
Subject Cocoon2 + fo2pdf Problem
Date Thu, 03 May 2001 14:58:07 GMT
Hello,

i have a problem with fo2pdf and Cocoon2

this is the code from my sitemap.xmap

-- cut --

   <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="glossar1a.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="glossar1b.pdf">
    <map:generate src="glossar/glossar1.fo"/>
    <map:serialize type="fo2pdf"/>
   </map:match>


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

   <map:match pattern="glossar2b.pdf">
    <map:generate src="glossar/glossar1.xml"/>
    <map:transform src="glossar/Test/glossar_pdf.xsl"/>
    <map:serialize type="fo2pdf"/>
   </map:match>

-- cut --

when i enter glossar.pdf in Internet Explorer or Netscape, Acrobat starts,
but i see nothing

when i enter glossar1a.pdf i got source code.. this code is saved as
glossar1.fo... when i enter glossar1b.pdf, i see what i want
it works with glossar2a.pdf and glossar2b.pdf

but glossar.pdf doesn't work... i think cocoon2 couldn't work with two
transforms and serialize type="fo2pdf"...
is this right?
how can i solve this?

regards
  Georg



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message