cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: HostSelector broken (Sitemap Issue)
Date Thu, 21 Jun 2001 20:09:05 GMT
On Thu, 21 Jun 2001, Andreas Neuenschwander wrote:

> > Andreas,
> >
> > FYI. I had no problem with the sitemap when i added a map:select with
> embedded map:when's......See
> > attached sitemap.xmap.
> >
> > Yes, i have checked in your patch for javadoc.
> >
> > Thanks,
> > dims
>
> Thanks a lot for your input dims,
>
> I tried your stylesheet and it worked.
>
> So my way to include HostSelector like this...
>
> <map:pipenline>
>     <map:select type="host">
>         <map:when test="mydomain">
>
>         </map:when>
>     </map:select>
> </map:pipeline>
>
> ...can't be compiled.
>
> This way it works:
>
> <map:pipeline>
>     <map:match pattern="**">
>         <map:select type="host">
>             <map:when test="mydomain">
>
>             </map:when>
>         </map:select>
>     </map:match>
> </map:pipeline>
>
>
> This means, map:select is only possible inside a map:match element?
>
> Is this behaviour correct?

Yes. The <map:pipeline> element can only have <map:match> elements as
children.

Giacomo


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message