forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject RE: How do I add a custom fo.xsl
Date Wed, 24 Jan 2007 19:40:07 GMT
On Fri, 2007-01-19 at 14:13 +0000, Steve Odlind wrote:
> Hi Thorsten,
> 
> >>Please try exchanging cocoon:/{1}{2}.xml with your location and I
> >>suspect it will work fine.
> 
> I wasn't sure what should replace "cocoon:/{1}{2}.xml". I tried the
> following:
> 
> Copied the block in main\webapp\sitemap.xmap you referred to in your
> previous mail and changed it to the following.
> 
> <!-- generate .fo from .xml for the special case  -->
> <map:match pattern="**aNewFile.fo">
> ...
>  <map:aggregate element="site">
>   <map:part src="cocoon:/skinconf.xml"/>
>   <map:part src="{project:content.xdocs}{1}aNewFile.xml"/>
>  </map:aggregate>
> ....
> 
> This did not work. Executing the "forrest" command still gives the same
> error message ("BROKEN: org.apache.fop.apps.FOPException: No flow in
> page-sequence "). Navigating to http://localhost:8888/aNewFile.fo fails
> with the error message "null".

Ok, let us see whether the skinconf.xml is in the aggregate or not.
above match and after the map:aggregate do map:serialize and send the
result.

> 
> Hopefully, I have just made a simple mistake.
> 

Let's find out. 

> Thanks again,

Sorry for coming back so late on this.

> 
> Steve
> 

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)



Mime
View raw message