cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Muench" <>
Subject Re: IE5 parses properly. But not cocoon
Date Wed, 07 Mar 2001 04:49:19 GMT
| The Problem: An xml file is being properly parsed and style sheet is being
| applied properly by IE5.0. The same xml file, when i give it to XSLT
| processor of cocoon, it does'nt apply style sheet properly.
| Here is the xml file:
| <?xml version ="1.0"?>
| <?cocoon-process type="xslt"?>
| <?xml-stylesheet type ="text/xsl" href="book_index2.xsl"?>
| And the corresponding XSL file:
| <?xml version ="1.0"?>
| <xsl:stylesheet xmlns:xsl ="">

It doesn't work because the above stylesheet is not
XSLT 1.0-compliant. It is using the namespace for
Microsoft's December 1998 implementation of what
was at the time a working draft of XSLT. The draft
changed significantly between then and when XSLT 1.0
became a recommendation in November 1999. All of the
XSLT processors except the *default* one installed in IE5
implement the XSLT 1.0 recommendation.

Microsoft recently shipped the production release of
their MSXML 3.0 containing the MSXSL3 that implements
the "real" XSLT 1.0, however, you need to download it
separately from IE5 and run a special utility if you
want this implementation to be the default one used 
by IE5.
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly

View raw message