OK, I stand corrected :-) I think it depends on whether your running in
'Side By Side' mode with MSXML3 or Replace mode, as to how your machine is
configured.
Dave
>> -----Original Message-----
>> From: Giles Hogben [mailto:[EMAIL PROTECTED]]
>> Sent: 17 July 2001 14:04
>> To: [EMAIL PROTECTED]
>> Subject: Re: [cf-xml] Why won't this work on 4.0???
>>
>>
>> No - this is not true - it depends how you have your
>> machine configured
>> probably. But I have experienced at first hand that transformation
>> operations will not happen unless you use the MSXML2 type object.
>> ----- Original Message -----
>> From: "Maddison, David" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, July 17, 2001 2:54 PM
>> Subject: RE: [cf-xml] Why won't this work on 4.0???
>>
>>
>> > Actually both Microsoft.XMLDOM and MSXML2.DOMDocument are
>> the same. The
>> > Microsoft.XMLDOM class is the version independent
>> classid, which means it
>> > will pick up the latest version.
>> >
>> > On my machine both ClassID's point to the same object.
>> >
>> > On the orginal question, what exactly doesn't work? What
>> error are you
>> > getting?
>> >
>> > Dave Maddison
>> >
>> > >> -----Original Message-----
>> > >> From: Joshua Miller [mailto:[EMAIL PROTECTED]]
>> > >> Sent: 17 July 2001 13:42
>> > >> To: [EMAIL PROTECTED]
>> > >> Subject: RE: [cf-xml] Why won't this work on 4.0???
>> > >>
>> > >>
>> > >> We have MSXML3 installed on the server. How exactly do I go
>> > >> about using the
>> > >> msxml2.Domdocument object?
>> > >>
>> > >> Joshua Miller
>> > >> Web Development::Programming
>> > >> Eagle Technologies Group, Inc.
>> > >> www.eagletgi.com
>> > >> [EMAIL PROTECTED]
>> > >>
>> > >> -----Original Message-----
>> > >> From: [EMAIL PROTECTED]
>> > >> [mailto:[EMAIL PROTECTED]]On Behalf Of
>> Giles Hogben
>> > >> Sent: Tuesday, July 17, 2001 2:57 AM
>> > >> To: [EMAIL PROTECTED]
>> > >> Subject: Re: [cf-xml] Why won't this work on 4.0???
>> > >>
>> > >>
>> > >> You are using the wrong msxml object - you need to use the
>> > >> msxml2.Domdocument object. The first version does not support
>> > >> transformations
>> > >> ----- Original Message -----
>> > >> From: "Joshua Miller" <[EMAIL PROTECTED]>
>> > >> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> > >> Cc: "cf_xml" <[EMAIL PROTECTED]>
>> > >> Sent: Monday, July 16, 2001 8:09 PM
>> > >> Subject: [cf-xml] Why won't this work on 4.0???
>> > >>
>> > >>
>> > >> > Any idea why the following code works on CF4.5pro but not
>> > >> 4.01pro????
>> > >> >
>> > >> > <cfset request.sourceDoc="f:\web sites\_josh\cd_list.xml">
>> > >> > <cfset request.styleDoc="f:\web sites\_josh\cd_list.xsl">
>> > >> >
>> > >> > <cfobject type="COM" name="objSource" context="INPROC"
>> > >> > class="Microsoft.XMLDOM" action="CREATE">
>> > >> > <cfobject type="COM" name="objStyle" context="INPROC"
>> > >> > class="Microsoft.XMLDOM" action="CREATE">
>> > >> >
>> > >> > <cfscript>
>> > >> > // Parse XML
>> > >> > objSource.async = "false";
>> > >> > sourceReturn = objSource.load("#request.sourceDoc#");
>> > >> >
>> > >> > // Parse XSL
>> > >> > objStyle.async = "false";
>> > >> > styleReturn = objStyle.load("#request.styleDoc#");
>> > >> >
>> > >> > // Transform Document
>> > >> > styleRoot = objStyle.documentElement;
>> > >> > xsloutput = objSource.transformNode(styleRoot);
>> > >> >
>> > >> > // Set Caller Variable
>> > >> > xslout=#xsloutput#;
>> > >> > </cfscript>
>> > >> >
>> > >> >
>> > >> > <cfoutput>#xslout#</cfoutput>
>> > >> >
>> > >> > Joshua Miller
>> > >> > Web Development::Programming
>> > >> > Eagle Technologies Group, Inc.
>> > >> > www.eagletgi.com
>> > >> > [EMAIL PROTECTED]
>> > >> >
>> > >> >
>> > >> > -----------------------+
>> > >> > cf-xml mailing list
>> > >> > [EMAIL PROTECTED]
>> > >> > http://torchbox.com/xml
>> > >>
>> > >>
>> > >> -----------------------+
>> > >> cf-xml mailing list
>> > >> [EMAIL PROTECTED]
>> > >> http://torchbox.com/xml
>> > >>
>> > >>
>> > >> -----------------------+
>> > >> cf-xml mailing list
>> > >> [EMAIL PROTECTED]
>> > >> http://torchbox.com/xml
>> > >>
>> >
>> >
>> > -----------------------+
>> > cf-xml mailing list
>> > [EMAIL PROTECTED]
>> > http://torchbox.com/xml
>>
>>
>> -----------------------+
>> cf-xml mailing list
>> [EMAIL PROTECTED]
>> http://torchbox.com/xml
>>
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml