[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT Parameter error in ASP transformation 8007005

Subject: Re: XSLT Parameter error in ASP transformation 80070057
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Fri, 31 Oct 2003 13:12:48 -0700
15 80070057
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.