cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] simple sitemap question
Date Mon, 16 Apr 2001 03:34:39 GMT
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>

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


Mime
View raw message