RE: Good resource on CF/XML integration?
Hi Is there any good resources on CF/XML integration? Any good web sites?? I'm giving a free seminar on CF/XML integration sometime in June, in London, UK. You can sign up for it at http://torchbox.com/xml If you can't come, sign up anyway and I'll send you the support pack (documentation, code samples, links to resources on the web). 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? I've written a custom tag which mimics CFQUERY, but uses an XML packet: cf_xmlquery name = myquery xmldata = http://torchbox.com/myxml.xml; xpath = //people cfoutput query = myquery #person_id# #person_name# br / /cfoutput The 'xmldata' field - here shown coming from a URL - can also be a file on the server or a local variable. You need to know a bit of XPATH to make the most of it, but it's pretty easy (it's a bit like the XML equivalent of SQL). If you're interested in this tag (I've also written XML versions of CFINSERT and CFUPDATE) let me know and I'll send you a beta version. Tom -+ tom dyson t: 01608 811870 m: 07958 752657 [EMAIL PROTECTED] http://torchbox.com Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Good resource on CF/XML integration?
Paul, I had this up and running last evening on a 4.0 server. I loaded it up this morning on a 4.5.0.0 server and get the following message when I run the soxml tag: (running xml2cf) DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). Any clues? - Original Message - From: Paul Mone [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 5:45 PM Subject: RE: Good resource on CF/XML integration? 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
Re: Good resource on CF/XML integration?
Make sure you have a reasonably current version of the MSXML parser on your 4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is freely available from http://msdn.microsoft.com/xml/default.asp -+ tom dyson t: 01608 811870 m: 07958 752657 w: http://torchbox.com cf/xml resource pack: http://torchbox.com/xml From: Dave Hannum [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 24 May 2001 08:12:05 -0400 To: CF-Talk [EMAIL PROTECTED] Subject: Re: Good resource on CF/XML integration? Paul, I had this up and running last evening on a 4.0 server. I loaded it up this morning on a 4.5.0.0 server and get the following message when I run the soxml tag: (running xml2cf) DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). Any clues? ~~ 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
Re: Good resource on CF/XML integration?
Well, I'm running Win2K and IE 5.5, so I should not need that. But I installed it anyway and I still get the same error: Now, I am running 4.5.0.0 CFServer. Could it be a problem with that? I'll go out and upgrade to 4.5.1 if you think that would help. Thanks, Dave Error Diagnostic Information DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). - Original Message - From: tom dyson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 8:58 AM Subject: Re: Good resource on CF/XML integration? Make sure you have a reasonably current version of the MSXML parser on your 4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is freely available from http://msdn.microsoft.com/xml/default.asp -+ tom dyson t: 01608 811870 m: 07958 752657 w: http://torchbox.com cf/xml resource pack: http://torchbox.com/xml From: Dave Hannum [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 24 May 2001 08:12:05 -0400 To: CF-Talk [EMAIL PROTECTED] Subject: Re: Good resource on CF/XML integration? Paul, I had this up and running last evening on a 4.0 server. I loaded it up this morning on a 4.5.0.0 server and get the following message when I run the soxml tag: (running xml2cf) DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). Any clues? ~~ 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
Re: Good resource on CF/XML integration?
Well, well, well. It's a CF4.0.0 problem. I upgraded to CF4.5.1 SP2 and it works fine. FYI for any interested . . . Dave - Original Message - From: tom dyson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 8:58 AM Subject: Re: Good resource on CF/XML integration? Make sure you have a reasonably current version of the MSXML parser on your 4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is freely available from http://msdn.microsoft.com/xml/default.asp -+ tom dyson t: 01608 811870 m: 07958 752657 w: http://torchbox.com cf/xml resource pack: http://torchbox.com/xml From: Dave Hannum [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 24 May 2001 08:12:05 -0400 To: CF-Talk [EMAIL PROTECTED] Subject: Re: Good resource on CF/XML integration? Paul, I had this up and running last evening on a 4.0 server. I loaded it up this morning on a 4.5.0.0 server and get the following message when I run the soxml tag: (running xml2cf) DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). Any clues? ~~ 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
RE: Good resource on CF/XML integration?
Dave use CF_ObjectDump to see what results you are getting. Also, if you are using cfhttp/get to grab some xml data or file, and there is a querystring involved, make sure you use URLEncodedFormat with the string. Greg -Original Message- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 9:10 AM To: CF-Talk Subject: Re: Good resource on CF/XML integration? Well, I'm running Win2K and IE 5.5, so I should not need that. But I installed it anyway and I still get the same error: Now, I am running 4.5.0.0 CFServer. Could it be a problem with that? I'll go out and upgrade to 4.5.1 if you think that would help. Thanks, Dave Error Diagnostic Information DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). - Original Message - From: tom dyson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 8:58 AM Subject: Re: Good resource on CF/XML integration? Make sure you have a reasonably current version of the MSXML parser on your 4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is freely available from http://msdn.microsoft.com/xml/default.asp -+ tom dyson t: 01608 811870 m: 07958 752657 w: http://torchbox.com cf/xml resource pack: http://torchbox.com/xml From: Dave Hannum [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 24 May 2001 08:12:05 -0400 To: CF-Talk [EMAIL PROTECTED] Subject: Re: Good resource on CF/XML integration? Paul, I had this up and running last evening on a 4.0 server. I loaded it up this morning on a 4.5.0.0 server and get the following message when I run the soxml tag: (running xml2cf) DOM Error Interface not registered | Line:0 The error occurred while processing an element with a general identifier of (CFTHROW), occupying document position (242:7) to (242:115). Any clues? ~~ 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
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
Re: [Good resource on CF/XML integration?]
granularity.com river [EMAIL PROTECTED] wrote: 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
RE: Good resource on CF/XML integration?
SOXML - by siteObjects ~~ 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
Re: Good resource on CF/XML integration?
you could start with the custom tag CF_SOXML, which you can get from the TagGallery. There's also links in it for other places on the web where you can get started and see code in action. 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
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
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
Re: Good resource on CF/XML integration?
Dave, Use CFHTTP to grab the datafile, then you have 2 options, write the resulting variable (from the CFHTTP) to a file, or directly manipulate that variable. The next step is to use CF_SOXML to get the XML. This custom tag converts the data to a structure which you manipulate with the standard struct functions. hth, larry -- Larry C. Lyons ColdFusion/Web Developer EBStor.com 8870 Rixlew Lane, Suite 201 Manassas, Virginia 20109-3795 tel: (703) 393-7930 x253 fax: (703) 393-2659 http://www.ebstor.com http://www.pacel.com email: [EMAIL PROTECTED] Chaos, panic, and disorder - my work here is done. -- Dave Hannum wrote: 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 ~~ 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
Re: Good resource on CF/XML integration?
Yes. There are some good examples that come with the tag that will answer your questions. jon - Original Message - From: Dave Hannum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 1:53 PM 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
Re: Good resource on CF/XML integration?
Well, you would probably use CFHTTP to get the xml document, then use SOXXML with the XML2CF action to turn the xml document into a structure. Then you would access the data from the CF structure. Make sense? Dave Hannum wrote: 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
RE: Good resource on CF/XML integration?
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
Re: Good resource on CF/XML integration?
Wow. Thanks for the help. It works like a charm! Dave - Original Message - From: Paul Mone [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 5:45 PM Subject: RE: Good resource on CF/XML integration? 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