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