Solved

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

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with SimpleXML charts with PHP 4 100
Strange html entity encoding by tidy 14 93
Issue with XSLT mapping 10 41
Eliminate additional border 1 22
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
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, …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 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