This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Dumb question from a newbie on XSLT in IE5
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Dumb question from a newbie on XSLT in IE5
- From: David Schach <davidsch at microsoft dot com>
- Date: Thu, 30 Mar 2000 11:28:10 -0800
- Reply-To: xsl-list at mulberrytech dot com
You need to download the latest msxml web release to use XSLT. IE5 shipped
prior to the XSLT recommendation and the XSL namespace changed.
-----Original Message-----
From: Jan Thunqvist [mailto:jan.thunqvist@technia.com]
Sent: Thursday, March 30, 2000 9:51 AM
To: XSL-List
Subject: Dumb question from a newbie on XSLT in IE5
Hi,
This is probably me just making stupid things, but my XSLT in IE5 doesn't
give any output:
XSL
----
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:output
method="xml"
indent="yes"
encoding="iso-8859-1"/>
<xsl:template match="/">
<html>
<head>
<title>Test of XSLT in IE5</title>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="bar">
<p>bar template</p>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="baz">
<p>baz template</p>
<p>
<xsl:apply-templates/>
</p>
</xsl:template>
</xsl:stylesheet>
With this XML-document, nothing happens except my debug output:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="test.xsl" ?>
<test>
<foo f_id="1"/>
<foo f_id="3"/>
<bar>
<baz b_id="1">test</baz>
<baz b_id="2">test2</baz>
<baz b_id="3">test3</baz>
<baz b_id="4">test4</baz>
</bar>
</test>
Can someone please tell me what I'm doing wrong? Or is it a Microsoft IE5
issue?
Thanks,
/Jan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list