cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Morrison" <john.r.morri...@ntlworld.com>
Subject RE: Agregating serverpages...?
Date Fri, 22 Jun 2001 19:55:15 GMT
Thanks,

> -----Original Message-----
> From: giacomo [mailto:giacomo@apache.org]
> Sent: Friday, 22 June 2001 7:56 pm
> To: 'cocoon-dev@xml.apache.org'
> Subject: Re: Agregating serverpages...?
>
>
> On Fri, 22 Jun 2001, Morrison, John wrote:
>
> > Could anybody please tell me if the following is possible/correct...?
> >
> >    <map:match pattern="myscript.sh">
> >     <map:aggregate element="page">
> >      <map:part src="catalog" element="public"/>
> >      <map:part src="parameters" element="parameters"/>
> >     </map:aggregate>
> >     <map:serialize/>
> >    </map:match>
> >
> >    <map:match pattern="parameters">
> >     <map:generate type="serverpages" src="docs/parameters.xml"/>
> >    </map:match>
> >
> >    <map:match patter="catalog">
> >     <map:generate src="docs/experiancatalog.xml"/>
> >    </map:match>
>
> Unfortunately the sitemap cannot know where the sitemap component
> selection process would end. It's not enought to close the match
> element. You need to specify a serializer to signal end-of-pipeline to
> the sitemap. So your example should work if you write it like this:
>
>     <map:match pattern="myscript.sh">
>      <map:aggregate element="page">
>       <map:part src="catalog" element="public"/>
>       <map:part src="parameters" element="parameters"/>
>      </map:aggregate>
>      <map:serialize/>
>     </map:match>
>
>     <map:match pattern="parameters">
>      <map:generate type="serverpages" src="docs/parameters.xml"/>
>      <map:serialize/>
>     </map:match>

but if I do the above how can I stop it from being accessed outside of the
sitemap?

>     <map:match patter="catalog">
>      <map:generate src="docs/experiancatalog.xml"/>
>      <map:serialize/>
>     </map:match>
>
> Giacomo
>

<snip/>

J.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message