[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: IE5 and XSL stylesheets

Subject: RE: IE5 and XSL stylesheets
From: "Biron,Paul V" <Paul.V.Biron@xxxxxx>
Date: Mon, 8 Feb 1999 15:02:57 -0800
RE: IE5 and XSL stylesheets
> -----Original Message-----
> From:	owner-xsl-list-digest@xxxxxxxxxxxxxxxx
> [SMTP:owner-xsl-list-digest@xxxxxxxxxxxxxxxx]
> Sent:	Wednesday, February 03, 1999 11:31 PM
> To:	xsl-list-digest@xxxxxxxxxxxxxxxx
> Subject:	The XSL-List Digest V1 #292
> 
> Date: Wed, 3 Feb 1999 10:04:42 +0100
> From: anette.engel@xxxxxxxx
> Subject: IE5 and XSL stylesheets
> 
> Did anyone ever wrote a stylesheet which worked with IE5?
> Then I would very much appreciate if he could send me
> a sample stylesheet.
> 
> My stylsheets still don't work with IE5.
> 
> Regards
> Anette
> 
I had exactly the same problem.  Ken Holman (a frequent contributor to this
group) gave me the answer a while back.

You need to add the following two template rules to your stylesheet.

<xsl:template>
	<xsl:apply-templates/>
</xsl:template>
<xsl:template match="textnode()">
	<xsl:value-of/>
</xsl:template>

According to the XSL working draft, the XSL processor is supposed to have
these as default rules, but the IE5b2 processor does not.

Also note, there are many other small differences between the IE5b2
implementation and the XSL working draft (e.g., textnode() above instead of
the correct text()).  Check
http://www.microsoft.com/xml/xsl/reference/start.asp for mroe info.

Paul V. Biron
SGML Business Analyst
Kaiser Permanente, So Cal.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.