473,856 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to write XSLT that works for IE but ignored by Fx?

Hello. I know a lot of different ways to write css that work for IE but
ignored by Fx, but is there a way to let IE process XSLT but leaving Fx
completely ignore the XSLT?

The classic filter doesn't seem to work:
<!--[if lt IE 9]><?xml-stylesheet type="text/xsl" href="my.xsl"?> <![endif]-->

The above seems to be ignored by both IE and Firefox

P.S. In the beginning I thought finding something that works for IE but not
Firefox must be very simple, just go to MSDN and follow a tutorial there,
chances are, the page you created will not work in any other browser than
IE. Unfortunately the XSLT I created following MSDN tutorial (amazingly)
works fine on Firefox.

P.S. I have googled but keywords like "xslt hack IE firefox list" doesn't
give me an answer, need to practice a lot of google before I can stop
bothering people on the usenet.
Mar 13 '07 #1
1 1845
Zhang Weiwu schrieb:
Hello. I know a lot of different ways to write css that work for IE but
ignored by Fx, but is there a way to let IE process XSLT but leaving Fx
completely ignore the XSLT?
See the system-property() function using xsl:vendor
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Mar 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Hayko Riemenschneider | last post by:
Hi! I've got me an XSL tranformation stylesheet for my XML file. In the XSL file I now wish to use PHP to do some scripting. So I thought I'll use the PIs like this: <xsl:processing-instruction name="php"> echo $hello; </xsl:processing-instruction>
by: Colin Fox | last post by:
I've got a bit of a problem, and I'm stumped. I'm working on a system to create web pages based on XML files. I'd like to be able to use a variety of techniques to make the coding faster & more maintainable. To that end, I have some XML and XSLT files that I use as 'subroutines' to build the pages faster. All pretty standard stuff. My problem is this: I have two xml/xslt file pairs that I'm using, and
by: Jon Martin Solaas | last post by:
For java programmers there exist a framework called Millstone (www.millstone.org) for programming web user-interfaces in a component oriented way. Millstone uses xslt transformations to render components as html. I'm trying to modify millstone so that it can display a html editor widget called HTMLArea instead of the usual html <textarea> tag. But I need a little help with the xslt transformation. Especially there is a construct,...
by: Dingbat | last post by:
I am finding that when I use XSLT to display convert XML like this: <temp units="°C">23</temp> the resulting HTML displays an extra character in front of the degree symbol, like this: 23°C This happens whether I use PHP or ASP so it seems to be
by: Stephen | last post by:
I have the following that outputs an xml file to a div using ajax: <script type="text/javascript"> function ajaxXML(url,control_id){ if (document.getElementById) { var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); } if (x) {
by: Kathleen Dollard | last post by:
Hi, Oleg's answer about attribute value templates led me to look back at a different problem, and wonder if someone else had solved it. I want to output an ASP.NET page. Thus I need to output ASP.NET tags and HTML tags. <%@ Page Language= etc...
by: trash.muell | last post by:
Hi, I am struggling with an XSLT task and need a hint: I have a complex XML file but want to only output some sub-trees of the XML structure. My XSLT script is always printing the information of the whole XML file. Only if I explicitely exclude subtrees/nodes with <xsl:template match="anExcludedNode" /> their content doesn't appear in the output. Is this the only way to do
by: chasthomas | last post by:
Hi, Using a data structure of: <ead> <archdesc> ... </archdesc> </ead>
by: rouble | last post by:
Hi All, I am just picking up xslt and I was wondering if I could get some pointers. I have an xml body that looks like this: <location> <civic-address> <country>US</country> <A1>New York</A1> <A2>King's County</A2> <A3>New York</A3>
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.