Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Remove Elements from XML 6 41
Detect file exist or not 3 157
XML filtering Windows Event Viewer 10 55
MS SQL Database Generating XML using query 21 44
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

772 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