Using CF_SOXML, you have a few ways to retreive and parse the XML using the
use the "XML2CF" action.  All of this is pretty much taken from cf_soxml's
entry in the Tag Gallery (http://devex.allaire.com) and from siteobjects
(http://www.siteobjects.com/examples/soxml/)

<cf_SOXML

Action="XML2CF|XML2DOM|XML2HTML|CF2XML|CF2XMLD
OM|Transform"
  Input="URL|FilePath|Variable"
  Output="Variable"
>

You can use CFHTTP to get the XML (see the CF Help Docs for usage) and pass
the results to cf_soxml in the "Input" paramter.

You can pass the file path of the XML document to the "Input" parameter (if
it is sitting on your server, or is accessible via a network mapping to you
server).

You can pass the url of the XML document to the "Input" parameter (if it is
sitting on your server, or is accessible via a network mapping to you
server).

Be sure to download cf_ObjectDump from the tag gallery. That tag will dump
the object created by XML2CF to HTML allowing you to find the data you need
to grab.


-----Original Message-----
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 10:53 AM
To: CF-Talk
Subject: Re: Good resource on CF/XML integration?


Yea, but how do you grab a .xml page and parse it out into your HTML?  I
have a company that wants to feed us info, and they have given me a url to a
...xml page.  I want to group the info and format the output.  Can CF_SOXML
do
this?

Dave

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 11:44 AM
Subject: RE: Good resource on CF/XML integration?


Yeah, CF_SOXML is an absolutely fantastic tag, I use it all the time for all
sorts of things. Well worth downloading and getting into.

You should also read up on WDDX - start by looking in the CF Studio help for
CFWDDX.

Good luck!

Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomx.net

-----Original Message-----
From: Dan Phillips [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 15:53
To: CF-Talk
Subject: RE: Good resource on CF/XML integration?


I did a quick search on Yahoo and found this.
http://www.siteobjects.com/index.cfm?fuseAction=showProducts

<cf_SOXML> version 1.5    [r. 01/09/2001]
SOXML provides ColdFusion programmers with an easy to use interface for
integration of XML with CF. This custom tag is open-source (of course),
free, and action based.
These actions include:

XML2CF (Converts a XML document into a complex CF structure)
XML2DOM (Loads the XML document into a valid XML DOM object accessed via CF)
XML2HTML (Displays the XML document as IE does but INLINE! very cool for
debugging)
CF2XML (Transforms any CF variable into a valid XML document)
CF2XMLDOM (Transforms any CF variable into a valid XML DOM object accessible
with CFML)
Transform (Transforms any XML document based on a specified XSL document)

I'm sure forta.com and CFDJ would have some info too.

Hope that helps!

Dan Phillips
www.cfxhosting.com

-----Original Message-----
From: river [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 10:22 AM
To: CF-Talk
Subject: Good resource on CF/XML integration?


Is there any good resources on CF/XML integration?  Any good web sites??
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to