[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Parameter error in ASP transformation 8007005
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|