I don't know if this will help, but I pulled the following code from the
CF_SOXML custom tag.  In case you haven't checked it out, this tag is
awesome.

Nelson

  <cfobject action="CREATE" class="Microsoft.XMLDom" type="COM"
name="Request.XMLDoc">

  <cfscript>
    Request.XMLDoc.async = 0;
    Request.XMLDoc.loadXML("<?xml version=""1.0""" &
IIf(Len(Attributes.Encoding),DE("encoding=" & Chr(34) & Attributes.Encoding
& Chr(34)),DE(""))  & IIf(Len(Attributes.StandAlone),DE("standalone=" &
Chr(34) & LCase(YesNoFormat(Attributes.StandAlone)) & Chr(34)),DE("")) &
"?>" & "<" & UCase(Attributes.RootName) & ">" & "</" &
UCase(Attributes.RootName) & ">");
    Attributes.Node = Request.XMLdoc.documentElement;
    oParseError = Request.XMLDoc.ParseError;
  </cfscript>

----- Original Message -----
From: "Dave DeVol" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 12:59 PM
Subject: CreateObject("I need Help")


>
>
> Has anyone gotten CreateObject()  function to work within <cfscript>? If
you have please provide the exact syntax.
>
>
> I've tried this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument");
> this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument", "local");
> this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument", "local",
"SERVER=""127.0.0.1""");
> this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument", "local",
"SERVER='127.0.0.1'");
> this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument", "local", "127.0.0.1");
> this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument", "local",
"SERVER=""SERVERNAME""");
> this:
> xmlData = CreateObject("COM", "MSXML2.DOMDocument", "local",
"SERVER='SERVERNAME'");
>
> and all of the above, substituting "remote" for "local".
>
> I don't get it. what else is there? Am I missing something? The help in
Studio4.5 does help much either.
>
>
>
>
> Cheers!
> Dave
>
> --------------------------------------------------------------
> Dave DeVol
> Transfer Online, Inc.
> 227 SW Pine Street, Suite 300
> Portland, OR 97204
> [Phone] 503.227.2950     [Fax] 503.227.6874
> [Email] [EMAIL PROTECTED]    [Web] www.transferonline.com
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to