right, the slash's were missing as well, thanks

-----Message d'origine-----
De : Stephan Michels [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi, 7. juin 2002 09:58
À : '[EMAIL PROTECTED]'
Objet : RE: A little help with aggregation




On Fri, 7 Jun 2002, Hahn Kurt (CHA) wrote:

> Right, I want to substitute {1} with '*' from the matcher, which seems to
> work fine, since the error I'm getting is :
> Could not get sitemap source
> http://st-080234:8080/cocoon/mount/AigleK/pv/title/251567.xml. But this
URL
> is working!! In addition to my main matcher, I'm posting now the two
> part-matchers:
>
> The aggregation:
> <map:match pattern="pvDoc/*.pdf">
>     <map:aggregate element="docComplet">
>       <map:part src="cocoon:pv/title/{1}.xml"/>

<map:part src="cocoon:/pv/title/{1}.xml"/>

>       <map:part src="cocoon:pv/{1}.xml" />


<map:part src="cocoon:/pv/{1}.xml" />

Have you forgot the the slash?

>     </map:aggregate>
>    <map:serialize type="xml"/>
> </map:match>
>
> BTW it doesn't change a lot if I leave just one part, or if I change the
> order. The error is always the above error for the part that comes first.
> part 1 matches to:
>
>       <map:match pattern="pv/title/*.xml">
>               <map:generate src="Queries/raw-query.xml"/>
>               <map:transform src="Queries/title_odj_query.xsl">
>                       <map:parameter name="var" value="{1}"/>
>               </map:transform>
>               <map:transform type="sql">
>                       <map:parameter name="use-connection"
> value="aigle_oracle_pool" />
>                       <map:parameter name="show-nr-of-rows" value="true"/>
>
>               </map:transform>
>               <map:transform src="Stylesheets/title_ODJ_contents.xsl"/>
>                       <map:transform type="i18n"/>
>               <map:transform src="Stylesheets/titleOdJFOP.xsl"/> <!-- -->
>               <map:serialize type="xml"/>
>       </map:match>
>
>
> part 2:
>
> <map:match pattern="pv/*.xml">
>       <map:generate src="Queries/raw-query.xml"/>
>       <map:transform src="Queries/pv_query.xsl">
>               <map:parameter name="var" value="{1}"/>
>       </map:transform>
>       <map:transform type="sql">
>               <map:parameter name="use-connection"
> value="aigle_oracle_pool" />
>               <map:parameter name="show-nr-of-rows" value="true"/>
>       </map:transform>
>       <map:transform src="Stylesheets/pv1.xsl"/>
>       <map:transform type="i18n"/>
>       <map:transform src="Stylesheets/pv2fo.xsl"/><!-- -->
>       <map:serialize type="xml"/>
> </map:match>


---------------------------------------------------------------------
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]>

---------------------------------------------------------------------
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