cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmauki...@s-und-n.de
Subject Re: Pipeline with Sitemap
Date Fri, 07 Mar 2003 11:49:26 GMT

Hi,


> for example when my first pipeline manage *.html and my second pipeline
manage *.xhtml, all html files will be correctly treat if i try > to acces
to xhtml file tomcat send me an error : " toto.xhtml" not found. My
pipeline is correctly configured because if i put the
> *.xhtml first then all xhtml files will be correctly treated and if i try
to acces html files Tomcat send me an error like "toto.html" not
> found...


This works fine for me (first xhtml and then html):

<map:match pattern="*.xhtml">
 <map:read src="{1}.xhtml"/>
 <map:serialize type="xml"/>
</map:match>

<map:match pattern="*.html">
 <map:read src="{1}.html"/>
 <map:serialize type="html"/>
</map:match>

kind regards
Jens Maukisch
-------------------------------------------------
s&n AG
netBank solutions
Klingenderstr. 5    mailto:jmaukisch@s-und-n.de
D-33100 Paderborn   http://www.s-und-n.de
-------------------------------------------------
CeBIT 2003 * Hannover * 12.-19.3.2003
Besuchen Sie uns auf dem Stand der Software AG
Halle 18 EG * Bank-Finanz-Systeme * Stand A24.15
-------------------------------------------------


---------------------------------------------------------------------
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