cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pratik Das <>
Subject selecting transform xsl based on document id
Date Tue, 31 Aug 2004 11:58:39 GMT
Can I set up a pipeline so that I can select the transform xsl based on  a 
wild card match of document id or any part of url. I want something 
like this:
<map:match pattern="lenyabody-*/*/*/*/**">
       <map:aggregate ....
        <map:select pattern="*" >
         <map:when test="act">
            <map:transform src="xslt/a.xsl"/>
         <map:when test="def">
            <map:transform src="xslt/b.xsl"/>
         <map:when test="ghy">
            <map:transform src="xslt/c.xsl"/>
            <map:transform src="xslt/default.xsl"/>

View raw message