cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] simple sitemap question
Date Mon, 16 Apr 2001 09:07:54 GMT


On Sun, 15 Apr 2001, Donald Ball wrote:

> i'd like to have a conditional stylesheet in my sitemap. here's my default
> pipeline:
>
>    <map:match pattern="*">
>     <map:generate src="content/{1}.xml" type="serverpages"/>
>     <map:transform src="style/{1}.xsl"/>
>     <map:transform src="style/wziml-html.xsl"/>
>     <map:serialize/>
>    </map:match>

Use a custom matcher then.

Giacomo

>
> problem is, the first stylesheet doesn't necessarily always exist. i'd
> like to check for its existence and only if exists, put the transformation
> in the pipeline. someone got a clue for me?
>
> - donald
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


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


Mime
View raw message