A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/911.html
Document ID: 911 Branch: main Language: default Name: ParameterSelector (unchanged) Document Type: Sitemap Component (unchanged) Updated on: 7/29/08 9:29:50 AM Updated by: Felix Knecht A new version has been created, state: publish Parts ===== Long description ---------------- This part has been added. Mime type: text/xml File name: null Size: 828 bytes Content: <html> <body> <p><map:selector name="parameter" factory="org.apache.cocoon.selection.ParameterSelector"/></p> <p><map:select type="parameter"><br/> <map:parameter name="parameter-selector-test" value="{mySitemapParameter}"/></p> <p> <map:when test="myParameterValue"><br/> <!-- executes iff {mySitemapParameter} == "myParameterValue" --><br/> <map:transform src="stylesheets/page/uk.xsl"/><br/> </map:when><br/> <map:otherwise><br/> <map:transform src="stylesheets/page/us.xsl"/><br/> </map:otherwise><br/> </map:select></p> <p>The purpose of this selector is to allow an action to set parameters<br/> and to be able to select between different pipeline configurations<br/> depending on those parameters.</p> </body> </html>