Subject: Re: [xsl] XSLT Parameter error in ASP transformation 80070057 From: "M. David Peterson" <m.david@xxxxxxxxxx> Date: Fri, 31 Oct 2003 13:12:48 -0700 |
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.lewis@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT Parameter error in A, Richard Lewis | Thread | RE: [xsl] XSLT Parameter error in A, Americo Albuquerque |
[xsl] U+ conversion to Unicode char, M V | Date | Re: [xsl] XSLT Parameter error in A, M. David Peterson |
Month |