473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1820
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
(<http://www.w3.org/TR/xslt#misc-func>).
--
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

9
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: ...
2
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...
2
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...
1
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...
4
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 =...
8
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...
2
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...
1
by: chasthomas | last post by:
Hi, Using a data structure of: <ead> <archdesc> ... </archdesc> </ead>
2
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> ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...

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.