spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column20

The crux of client-side XML Processing in IE5

UNIX Systems Administrator (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans


Had you tried to use the RSS2HTML stylesheet of column16 in Internet Explorer, you would have quickly noticed that it does not work in most versions of this browser. Digging into the Microsoft Developer Network (MSDN) documentation for a cause I came across the following paragraph in one article:

"If you've been watching the Microsoft® XML Web site (http://msdn.microsoft.com/xml), you've probably noticed the increased pace of MSXML releases. MSXML 2.0 shipped with Microsoft Internet Explorer 5.0 while MSXML 2.5 shipped with Windows® 2000. There was also an interim MSXML 2.6 release which included most of the features in the current 3.0 release with a few exceptions. There have also been several additional MSXML 3.0 releases this year."

For those of us who are less familiar with (and possibly less interested in ;-) Microsoft Windows internals: MSXML is a package that offers XML processing capabilities for the operating system in the form of:

For Windows, MSXML is packaged as a Dynamic Link Library (DLL) that contains several Component Object Model (COM) components, including the XML parser and XSL processor. These can be used by any other program, for instance a Web browser, to offer XML-related services, such as parsing and rendering XML data with XSL style sheets. If you found any XML-related services in Internet Explorer for the Macintosh let me know, because I didn't.

So not only are you limited in the platforms supported, you also have to develop different solutions for the various versions of the installed MSXML versions. Of course Microsoft strives to maintain backwards compatibility, but unfortunately this implies it is only safe to assume that the functionality of MSXML version 2.0 is available. (Version 1, which shipped with IE4, is fairly limited for real world usage.)

MSXML 2.0 was released before the W3C made XSL-T a recommendation, so before it was finalized. While most W3C developments went rather smoothly from first inception to finalization, this was not the case for XSL. Different requirements for browser display and print finally resulted in the split between XSL-T and XSL-FO. The syntax for navigating an XML tree changed from XSL patterns to XPath, which looks only slightly different but is incompatible. While this was not foreseeable, Microsoft (and all its customers) is now stuck with non-standard XML implementations as their least common denominator across all current Windows machines.

The following table illustrates the supported APIs in different versions of MSXML:

MSXML version1.02.02.52.63.0
Installed withIE4IE5Win 2000MSDNMSDN
DLLmsxml.dllmsxml.dllmsxml.dllmsxml3.dllmsxml3.dll
MS-DOM X - - --
W3C DOM - X X XX
XSL Patterns - X X XX
XPath - - X XX
SAX - - - --
SAX2 - - X XX

Let's try to adapt the RSS2HTML Stylesheet to use the deprecated XSL Patterns.

http://www.internet.com


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Installing and Using Meeplace, the Business Review CMS · Sending an HTML and Plain Text E-newsletter with ASP.NET, Part 2 · Create Multilingual Web Sites with Windows Unicode Fonts
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Top 10 Threats to Wireless Security · Poll: UC Uptake on the Rise · Review: Fluke AirCheck Wi-Fi Tester 1.0

Produced by Michael Claßen
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/xml/column20/index.html
Created: Sep 26, 2000
Revised: Sep 26, 2000