cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [c2] example of selector in use?
Date Wed, 18 Apr 2001 16:30:02 GMT
On Wed, 18 Apr 2001, giacomo wrote:

> > last message for a while, i promise.
>
>  :)
>
> > does anyone have an example of a
> > selector in use in a sitemap?
>
>    <map:match pattern="welcome">
>     <map:generate src="docs/samples/samples.xml"/>
>     <map:select>
>       <map:when test="wap">
>         <map:transform src="stylesheets/simple-samples2html.xsl"/>
>       </map:when>
>       <map:when test="netscape">
>         <map:transform src="stylesheets/simple-samples2html.xsl"/>
>       </map:when>
>       <map:otherwise>
>         <map:transform src="stylesheets/simple-samples2html.xsl"/>
>       </map:otherwise>
>     </map:select>
>     <map:transform src="stylesheets/simple-samples2html.xsl"/>
>     <map:serialize/>
>    </map:match>
>
> It's in the sample sitemap IIRC

doh! i was searching for map:selector, not map:select. that'll teach me to
try to do five things at once.

- donald


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


Mime
View raw message