I'm looking to develop a hybrid site for regular web browsers and wireless browsers. It would be ideal if I could use ASP to generate XML, then use XSL to transform my content to HTML or WML depending on which type of browser you are using.

The question becomes, how do I determine if you have a Wireless browser? How can I tell if you're using one of those little phones to look at my site, rather than IE or Netscape?

I was thinking of using the ServerVariable, HTTP_USER_AGENT. It returns "Mozilla..." when I look at it in IE; "NOKIA..." when I look at it though my WAP Emulator; "500:Internal Server Error" on an actual phone.

Does anyone know how I might be able to determine this via ASP?