Yes, the xml root is not present so it was not well formed.  Here's a
little example that shows several ways to view the data:


        <cfxml variable="xmlObj">
                <theRootElement>
                        <Content>
                ---- original xml content omitted for email -----

                        </Content>
                </theRootElement>
        </cfxml>
        
<cfdump var="#xmlObj#" label="Your XML Object - Click to Expand"
expand="no"/>
<br/><br/>

<cfset topLevelElements = xmlObj.xmlroot.xmlchildren>

<cfdump var="#topLevelElements#" label="XML Obj as Array - Click to
Expand" expand="no"/>
<br/><br/>

<cfloop from="1" to="#arraylen(topLevelElements)#" index="a">
        <ul><cfoutput>RECORD #a# of
#arraylen(topLevelElements)#</cfoutput>
        <cfloop from="1"
to="#arraylen(topLevelElements[a].xmlchildren)#" index="b">
                <cfoutput>
        
<li>#topLevelElements[a].xmlchildren[b].XmlName#:
#topLevelElements[a].xmlchildren[b].XmlText#</li>
                </cfoutput>
        </cfloop>
        </ul>
</cfloop>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259127
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to