forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Tessner <r...@apache.org>
Subject Re: [Fwd: Re: Help w/transforming an aggregated doc]
Date Wed, 05 Jan 2005 20:30:25 GMT
On Wed, 2005-01-05 at 12:20 -0800, Rick Tessner wrote:

> > I think this is the last iteration!  I took out a lot of the stuff
> > that was (incorrectly) in my sitemap so maybe this will get simpler
> > now.  The PDF is still generated but the HTML is still blank.  Here's
> > the pipeline:
> > 
> >  <map:pipelines>
> >     <!-- internal pipeline for "header" and "projinfo" omitted -->
> >     <map:pipeline>
> >       <map:match pattern="**/*projects.xml">
> >         <map:aggregate element="document">
> >           <map:part src="cocoon:/header" element="header"/>
> >           <map:part src="cocoon:/projinfo" element="section"/>
> >         </map:aggregate>
> >         <!--<map:transform type="xslt"
> > src="{project:stylesheets-dir}/xml2document.xsl"/> -->
> >         <map:serialize type="xml"/>
> >       </map:match>
> >   </map:pipeline>

Does the PDF that's generated contain content or just the title page?
The reason I ask is because in the above sitemap, you have the
<document> and <header> elements being generated, but I don't see a
<body> element.

Try changing the <map:part src="cocoon:/projinfo" element="section"/> to
<map:part src="cocoon:/projinfo" element="body"/>.

If that still doesn't work, could you post the sitemap map:match
elements for cocoon:/header and cocoon:/projinfo?

Hope this helps,

Rick

Mime
View raw message