Hahn Kurt (CHA) wrote:
> I changed the sitemap a little to make it clearer, it now looks like this:
> 
> <map:match pattern="pvDoc/*.pdf">
>     <map:aggregate element="pvDoc">
>       <map:part src="cocoon:/pv/title/{1}.xml" element="title"
> ns="http://etat.geneve.com/title"/>
>       <map:part src="cocoon:/pv/{1}.xml" element="pvtexte"
> ns="http://etat.geneve.com/pvtexte"/>
>       </map:aggregate>
>       <map:serialize type="xml"/>
> </map:match> 
> 
> As I mentioned before, the parts called individually work fine. I'm
> suspecting that maybe the parameter isn't passed correctly. Can somebody
> confirm (or disconfirm ) if my syntaxe is correct?

Wild guess: does
  <map:part src="cocoon:/pv/title/{../1}.xml" element="title" ...
work?

J.Pietschmann



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to