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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>