They are one in the same...
set XSLDoc = server.createObject("Msxml2.DOMDocument")
is simply the way to create an instance of the MSXML3.0 object... confusing,
yes... but thats the way they did it...
----- Original Message -----
From: "Richard Lewis" <richard(_dot_)lewis(_at_)uea(_dot_)ac(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, October 31, 2003 10:39 AM
Subject: Re: [xsl] XSLT Parameter error in ASP transformation 80070057
On Friday 31 Oct 2003 16:56, Heath DeForrest Allison wrote:
The problem:
msxml3.dll error '80070057'
The parameter is incorrect.
/Default.asp, line 760
My ASP code looks like this:
<%
'dim them vars
dim thisMonth
dim blogfile
dim dataFile_xml
dim datafile_xsl
'fetch xml
thisMonth = cstr(month(now))
blogfile = ("/blog/blogfiles/blog" + thisMonth + ".xml")
dataFile_xml = Server.mappath(blogfile)
set XMLDoc = server.createObject("Msxml2.DOMDocument")
XMLDoc.async = false
XMLDoc.load dataFile_xml
'fetch xsl
set XSLDoc = server.createObject("Msxml2.DOMDocument")
XSLDoc.async = false
datafile_xsl=server.mappath("blogmain.xsl")
XSLDoc.load datafile_xsl
'transform
response.write(XMLDoc.transformNode(XSLDoc))
%>
I've never msxml before but is
server.createObject("Msxml**2**.DOMDocument")
correct? The error, you said, comes from msxml**3**.dll...
???
Richard
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list