BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


XSLT
Displaying XML data in Pages
Repeated search and replace in XSLT
Combinations of k out of n numbers
Permutations of the values of N nodes
DVC Algorithms in XSLT
Another way of avoiding XSLT processor crash
Re: DVC Algorithms in XSLT
trig functions in xslt
XSLT string Replace function
A Slide-In Menu made with XML/XSLT
What is SVG?
Family Tree maker
Alternative Ordering - ""Women and Children to the lifeboats first""
Restructuring flat delimited XML
Hex and Binary Conversions in XSLT - with Boolean math functions
Using XSLT to produce SVG (1)
Using XSLT to produce SVG (2)
Performance Tuning XSLT - Part 1
Performance Tuning XSLT - Part 2
Performance Tuning XSLT - Part 3


 
 

<< XQuery.NET and XML >>


By Don Kackman
First Posted 10/09/2001
Times viewed 183

Support automatic transformation using XSLT in IE in side by side mode


Summary A small XSL stylesheet that defers the actual transformation to an XSLT stylesheet

When you open an XML document in Internet Explorer and it has the xml-stylesheet directive IE will transform the XML and display the output of that transformation. The problem is that versions of IE prior to v6 uses MSXML2.5 by default to do the transformation. MSXML 2.5 does not support XSLT, it supports an older working draft syntax. So unless your users have MSXML3 installed in replace mode or are using IE6 you can't leverage this functionality for easily displaying XML transformed by XSLT. This is an XSL stylehseet that can be used to defer the XSLT transformation in IE. This allow syou to write XSLT stylehseets that will be supported by any version of IE on a machine that has MSXML3, either in side by side or replace mode. I place the location of XSLT stylesheet in a processing instruction of my own invention, you could easily modify this to hard code a particular stylesheet or look it up somewhere in the data. Whatever works out for your use cases.

Additional information

Further additional information


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< XQuery.NET and XML >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML