Solved

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

Posted on 2002-03-12
3
293 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Suggested Solutions

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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