Hmm. Spent some time trying to get your solution to work. One problem (I think)
I found: there are a couple of double quotes in the script where I think there
should be single quotes, e.g: "xslDoc.load("transform.xsl")" should be
"xslDoc.load('transform.xsl')". Found a couple instances of that.
But after making that substitution, it still doesn't work. In IE 5.5, I get
this JS error page:
<title>XML test page</title>
<body onLoad="var xmlDoc
xmlDoc = new ActiveXObject('Microsoft.XMLDOM')
xmlDoc.async = false;
xslDoc = new ActiveXObject('Microsoft.XMLDOM')
xslDoc.async = false;
XMLViewData.innerHTML = xmlDoc.documentElement.transformNode(xslDoc)">
I've always been mystified by the JS error line counting system - I can't even
determine which line the error is in... do I start counting with zero or one?
And do I start at "<html>" or the first actual line of JS code?