You need to do <map:match pattern="page(*).xml">>
Le Mardi 13 Janvier 2004 17:24, Varalakshmi Kollipara a �crit :
> Hello every one... I have a problem with Paginate Transformer. I am using
> the Paginate transformer in two pipelines in the following way.
>
<map:match pattern="page*.xml">>
>
> ......doing some generation over here....
>
> <map:transform type="paginate" src="page.xml">
> <map:parameter name="page" value="{1}"/>
> </map:transform>
> <map:serialize type="xml"/>
> </map:match>
>
> <map:match pattern="sort*.xml">
>
> ......doing some generation over here....
>
> <map:transform type="paginate" src="page.xml">
> <map:parameter name="sort" value="{1}"/>
> </map:transform>
> <map:serialize type="xml"/>
> </map:match>
>
> What do the parameters 'page', 'sort' indicate...?
>
> And my page.xml is:
> <pagesheet xmlns="http://apache.org/cocoon/paginate/1.0">
> <rules>
> <count type="element" name="Item" num="8"/>
> <link type="unit" num="1"/>
> </rules>
> </pagesheet>
>
> When I access the second pipeline the generated xml code shows the first
> pipeline page1.xml as the current URI in the XML part that corresponds to
> the Paginate transformer.
>
> Thanks in advance,
> Lakshmi.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]