Hi, is it actually possible to select a serializer based on a regexp in the URI, iow something similar to the following sitemap fragment
<map:pipeline> <map:match type="wildcard" pattern="publish/instruction-controller.html"> <map:generate type="serverpages" src="xml/instruction-controller.xml" /> <map:match type="sessionstate" pattern="*"> <map:parameter name="attribute-name" value="stylesheet"/> <map:transform src="xsl/{1}.html.xsl" /> </map:match> <map:serialize type="html"/> </map:match> </map:pipeline> which I'd like to replace <map:pipeline> <map:match type="wildcard" pattern="publish/instruction-controller.*"> <map:generate type="serverpages" src="xml/instruction-controller.xml" /> <map:match type="sessionstate" pattern="*"> <map:parameter name="attribute-name" value="stylesheet"/> <map:transform src="xsl/{1}.html.xsl" /> </map:match> <map:serialize type="{1}"/> </map:match> </map:pipeline> Trying this results into the following exception: org.apache.avalon.framework.configuration.ConfigurationException: Type '{1}' is not defined for 'serialize' at file:/ms/user/g/guttmanw/workdir/build/expiry-webapp/sitemap.xmap:488:32 Or am I approaching this in a wrong way anyhow ? Werner --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>