Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML

Status
Not open for further replies.

r0nke

MIS
Joined
Jul 17, 2003
Messages
60
Location
US


I have:

<!--- convert post results to xml format --->
<cfset xDoc = XmlParse(cfhttp.filecontent)>
<cfset resources=xDoc.xmlroot.xmlChildren>
<cfset size =ArrayLen(resources)>
<cfloop index="i" from="1" to="#size#">
<cfset item=resources>
</cfloop>

Is there a way I can find out what the elements in "item" are?

Like say: <cfset msg = item.xxxx.xmltext>

Is there a way I can find out what xxxx should be?

Many thanks
 
Once its parced by XmlParse its nothing more than a series of structs and arrays. you can use all the struct and array functions available.

Here is a great document that will help you

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top