spacer

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

home / experts / xml / column20

The crux of client-side XML Processing in IE5

Sr. Programmer/Analyst
Professional Technical Resources
US-OR-Portland

Justtechjobs.com Post A Job | Post A Resume
Developer News
Metasploit 3.2 Offers More 'Evil Deeds'
'Thank You Apple. Seriously.'
The Buzz: BlackBerry App Store Seen Next

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



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider

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