You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Skladovs, Victor" <Sk...@his.de> on 2004/07/14 16:27:47 UTC
RTFSerializer: problem with generating tag in Cocoon
Hi to all!
I experienced a very strange problem today.
I'd like to create a RTF document with Cocoon 2.1.5, using a xsp page
and a stylesheet.
My sitemap entry:
<map:match pattern="keys.rtf">
<map:generate type="serverpages" src="xsp/auth/keys.xsp"/>
<map:transform
src="stylesheets/auth/keys2fo.xsl">
<map:parameter name="view-source"
value="xsp/auth/keys.xsp"/>
</map:transform>
<map:serialize type="fo2rtf"/>
</map:match>
All links - internal and external - are not generated! Colors are not
applied too.
But when I generate the xml output (fo), then save it to the disc
manually and then generate my rtf file with this entry:
<map:match pattern="keys.rtf">
<map:generate src="xsp/auth/keys.fo.xml"/>
<map:serialize type="fo2rtf"/>
</map:match>
everything works fine!
What's the problem? Has anybody experienced this problem? Can I make
cocoon to correctly generate my xsp?
Any help is appreciated!
Regards,
Viktor