Solved

Is it possible to javascript-style browser detection with XSL?

Posted on 2002-03-12
3
296 Views
Last Modified: 2008-03-10
I want to use XSL to determine if visitors are using IE/Win, Moz/Win, or IE/Mac, Moz/Mac - any ideas?

Thanks,

Matt
0
Comment
Question by:mraible
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

Accepted Solution

by:
b1xml2 earned 50 total points
ID: 6857115
browser detection has everything to do with javascript and not XSLT. XSLT merely transforms XML documents. I don't understand what your question really is about, perhaps you could elaborate.
0
 
LVL 14

Expert Comment

by:avner
ID: 6857809
As b1xml2 said, you are confusing some web terms.

Re-Asking the question to :
How to determine what browser is being used by the user, take a look at this link :
http://www.webreference.com/js/column6/

Although I could give you the specific code for this matter, reading the whole column will give you a better understanding of what you are looking for.



0
 
LVL 1

Author Comment

by:mraible
ID: 6857895
just wanted to know if it was possible - I understand that it's possible with Javascript.  since I need to know on the server-side, I resorted to parsing the user-agent header and determining from that.

Thanks,

Matt
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question