forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Odlind" <>
Subject RE: How do I add a custom fo.xsl
Date Thu, 25 Jan 2007 16:04:58 GMT
Hi Thorsten,

I did the following:

<map:match pattern="**">
  <map:aggregate element="site">
   <map:part src="cocoon:/skinconf.xml"/>
   <map:part src="{project:content.xdocs}{1}aNewFile.xml"/>
  <map:serilaize type="xml"/>

I then got the following error message:

"BROKEN: Root element must be root, not site"

Any ideas what to try next?



-----Original Message-----
From: Thorsten Scherler [] 
Sent: 24 January 2007 19:40
Subject: RE: How do I add a custom fo.xsl

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="**">
> ...
>  <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
> error message ("BROKEN: org.apache.fop.apps.FOPException: No flow in
> page-sequence "). Navigating to http://localhost:8888/
> 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

> Hopefully, I have just made a simple mistake.

Let's find out. 

> Thanks again,

Sorry for coming back so late on this.

> Steve


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

View raw message