Hi.,
  As i understand, the c2 functionality to operate
with different browsers depends simply on the
"User-Agent" string passed with http headers..(browser
can send multiple strings for user-agent like
mozilla..ie something like that)..

I had hell of time trying to make it work as i had to
know

1. What user-agent string are sent by various browsers
2. How to order them in-order to get prompt effect..

Best thing i think is to change the user-agent sent by
each browser(or each version)(and you can code any
string you want and map that in sitemap)..

Now issue of how to change the user-agent..so far i
have only succeeded with "Opera" browser, which
facilitates to change the user-agent to various
browser imitations(fixed number)...

May be new mozilla browser could be customized to
imitate also..

Good luck

 --- Liam Morley <[EMAIL PROTECTED]> wrote: > 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]>
>  

=====
Thanks and have great day
srini

____________________________________________________________
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in.groups.yahoo.com.

---------------------------------------------------------------------
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