I understand that Cocoon gives you the power to use different stylesheets
for different browsers (code is included at bottom of email). However, I
don't see how you can test between different versions, ie between IE4,
IE5, IE5.5, NS4, or NS6. Is there a way to do this as well?

Thank you...

<map:select type="browser">
              <!-- you could insert parameters here as well -->
              <map:when test="explorer">
                 <map:transform src="stylesheets/w3c-2-msie.xsl"/>
              </map:when>
              <map:when test="lynx">
                 <map:transform
src="stylesheets/dynamic-page2html-text.xsl"/>
                 <map:serialize/>
              </map:when>
              <map:when test="netscape">
                 <map:transform src="stylesheets/ns4.xsl"/>
              </map:when>
              <map:otherwise>
                 <map:transform src="stylesheets/w3c.xsl"/>
              </map:otherwise>
           </map:select>


-------
Liam Morley

"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to