Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
dannyra #1
Re: XML in Coldfusion
Your question is pretty vague. You'll probably want to have at least coldfusion
MX running. Before that xml wasn't easily parsed. Here are some suggestion.
<cffile action="read" file="#pathtofile#" variable="myXml">
<!--- <cfhttp url="#urltofile#" method="get" timeout="30">
<cfset myXml=cfhttp.filecontent>
I didn't check my code so some of these attributes might not be correct
--->
<cfset parsedxml=xmlparse(myXml)>
<cfdump var="#parsedxml#">
<!--- this will give you the structures --->
Then call them like any other structure.
<cfoutput>#struct1.nestedstruct2.nestedstruct3.xml text#</cfoutput>
Or if there are multiple instances of nestedstruct3
<cfoutput>#struct1.nestedstruct2.nestedstruct3[instancenum].xmltext#</cfoutput>
dannyra Guest
-
coldfusion-out.log
Hi everyone, I checked tones of topics about the increase of the size of coldfusion-out.log. And I get no answer. Aparrently there is no... -
Running ColdFusion 5.0 and ColdFusion 6.1 concurrently
Hi, this is my first post on this forum, I have tried looking but could not find a post that discussed my problem. I am wondering if it is possible... -
How to call a coldfusion function defined in other coldfusion file??
inside a.cfm, it has code fragment: <cfloop> <cfinclude template="b.cfm"> </cfloop> inside b.cfm, it has code fragment: ... -
coldfusion cms
Hi: If i want to use a coldfusion based cms (content management system) which one is the best choice? Thanks Benign -
Com+ and Coldfusion 7.1
I have some DLL's (they sit server side) that were developed in VB 6 and are registered as Com objects with windows XP. How can i access those and...



Reply With Quote

