cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Blake <>
Subject map:select - understanding
Date Tue, 16 Oct 2001 02:13:42 GMT
Hi again,

The following is supposed to set a parameter based on the browser. It 
doesn't do what I would like it to do :)

ie. when the transformer uses $css-doc its value is always null (or an 
empty string).

Can anyone see why the following wouldn't work?

Sitemap snippet:
      <map:select type="browser">
       <map:when test="netscape">
         <map:parameter name="css-doc" value="net.css"/>
         <map:parameter name="css-doc" value="ie.css"/>

XSL snippet (where the parameter is read and the error occurs)
<xsl:param name="css-doc"/>
<link rel="styleSheet" type="text/css"><xsl:attribute 
name="HREF"><xsl:value-of select="$css-doc"/></xsl:attribute></link>

Thanks for your help,


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message