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:
> >=20
> > <map:pipelines>
> > <!-- internal pipeline for "header" and "projinfo" omitted -->
> > <map:pipeline>
> > <map:match pattern=3D"**/*projects.xml">
> > <map:aggregate element=3D"document">
> > <map:part src=3D"cocoon:/header" element=3D"header"/>
> > <map:part src=3D"cocoon:/projinfo" element=3D"section"/>
> > </map:aggregate>
> > <!--<map:transform type=3D"xslt"
> > src=3D"{project:stylesheets-dir}/xml2document.xsl"/> -->
> > <map:serialize type=3D"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=3D"cocoon:/projinfo" element=3D"section"/> t=
o
<map:part src=3D"cocoon:/projinfo" element=3D"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
|