This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
IE 5 XSL Processor Help
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] IE 5 XSL Processor Help
- From: "Kevin Nardi" <kevnardi at hotmail dot com>
- Date: Wed, 11 Jul 2001 12:52:34 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
I'm new to XSL and I'm trying to do some transformations in IE 5.5, but I
can't get a single piece of code to work. Here's my processor info:
Vendor: Microsoft
Processor version: Original IE5 (or old version of other processor)
For some reason transformNode() always returns the the xml text of the xsl
document I pass to it. No parse or runtime errors. Any clues?
The text of my test document follows.
Thanks!
Kevin Nardi
Upcast, Inc.
-----------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>XML Test</title>
<script>
function transform()
{
alert(xml.transformNode(xsl.XMLDocument));
}
</script>
</head>
<body onload="transform()">
<XML id="xml">
<hello>Hello World!</hello>
</XML>
<XML id="xsl">
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:template match="hello">
<xsl:value-of select="/" />
</xsl:template>
</xsl:stylesheet>
</XML>
</body>
</html>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list