This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: MSXML on Win 2000 and transformNode
- To: xsl-list at mulberrytech dot com
- Subject: RE: MSXML on Win 2000 and transformNode
- From: Jeff Beadle <Jbeadle at manh dot com>
- Date: Thu, 6 Apr 2000 06:30:56 -0400
- Reply-To: xsl-list at mulberrytech dot com
I don't have any suggestions, but I have done many TN's on Win2K with
MSXML3.
Here's a snippet from one of my ASP's ... and it works fine.
...
<%
var xslPath = Server.MapPath("../QALogInquiry.xsl");
try {
var theXMLDom = Server.CreateObject(
"MSXML2.DOMDocument.3.0" );
var theXSLDom = Server.CreateObject(
"MSXML2.DOMDocument.3.0" );
var myLogger = Server.CreateObject( "LoggerLib.CLogger" );
myLogger.LoggingConnectionString = "Provider=SQLOLEDB.1;
Password=; UserID=sa;Initial Catalog=ADCUMH;Data Source=(Local); Locale
Identifier=1033;";
theXMLDom.async = false;
theXSLDom.async = false;
theXMLDom.loadXML( myLogger.GetLog( 1 ) ); // 1 :=
eReturnXML
theXSLDom.load(xslPath);
Response.Write( theXMLDom.transformNode(
theXSLDom.documentElement ) );
}
catch( e ) {
Response.Write( "Error: " + e.description );
}
%>
...
This is on Win2K Advanced Server (IIS 5) with MSXML3. By the way do you
know why MS didn't increment the Library/Namespace version? ... why is it
MSXML2 for a version 3 product?
Anyhow, I hope this might help.
Jeff
-----Original Message-----
From: Steven Livingstone [mailto:s.livingstone@btinternet.com]
Sent: Wednesday, April 05, 2000 6:54 PM
To: xml-dev@xml.org; xsl-list@mulberrytech.com
Subject: MSXML on Win 2000 and transformNode
Anyone used transformNode on Win 2k with success??
I have previously installed the tech previews MSXSML3 and I
can get the same code working on a NT 4 machine !!!
I can't get a simple TN working !??
Any ideas?
Cheers,
Steven (frustrated)
Author
Pro XML
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861003110
Pro Site Server 3, Wrox Press
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002696
Pro Site Server 3.0 Commerce Edition, Wrox Press
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002505
Steven Livingstone
Glasgow, Scotland.
07771 957 280 or +447771957280
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list