Like many others (I imagine), I want to serve up wml to mobile users and 
html to  desktop users from the same request:

http://www.mysite.com

The example in the sitemap shows the use of a selector to choose a 
pipeline based on the name of the browser, then deliver html or wml.

But, I don't know the name of all the browsers that might use my site! 
Wouldn't it be better to match/select/action on browser capabilities to 
determine whether to send html or wml? Do mobile phones (etc) declare 
browser capabilities in their headers? Do all html browser declare 
themselves as html? Would this approach work? Is there a way to do this now?

Any help/views welcome.

Many thanks,
Pete Hargreaves.

P.S. I am familiar with the use of selectors to select on browser name, 
and familiar with the use of browser-capabilities in xslt.

I'm Using: NT4.0sp6, jdk1.3.1, jakarta-tomcat-4.0.1, Cocoon 2.0.


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