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>
<ID>
60
</ID>
<Title>
Rick Froberg
</Title>
<QuickLink>
/cryo_site_dev/login.aspx?id=60
</QuickLink>
<Teaser>
</Teaser>
<Html>
</Html>
<StartDate>
12:00:00 AM
</StartDate>
<DateModified>
11/3/2006 9:13:11 AM
</DateModified>
<EndDate>
12/31/9999 11:59:59 PM
</EndDate>
<LastEditorFname>
BUILTIN
</LastEditorFname>
<LastEditorLname>
BUILTIN
</LastEditorLname>
<DisplayStartDate>
</DisplayStartDate>
<FolderID>
56
</FolderID>
<ContentStatus>
Approved
</ContentStatus>
<Language>
1033
</Language>
<DisplayDateModified>
11/3/2006 9:13:11
AM
</DisplayDateModified>
<DisplayEndDate>
</DisplayEndDate>
</Content>
<Content>
<ID>
58
</ID>
<Title>
Jeremiah Bascue
</Title>
<QuickLink>
/cryo_site_dev/login.aspx?id=58
</QuickLink>
<Teaser>
</Teaser>
<Html>
</Html>
<StartDate>
12:00:00 AM
</StartDate>
<DateModified>
11/3/2006 9:11:01 AM
</DateModified>
<EndDate>
12/31/9999 11:59:59 PM
</EndDate>
<LastEditorFname>
BUILTIN
</LastEditorFname>
<LastEditorLname>
BUILTIN
</LastEditorLname>
<DisplayStartDate>
</DisplayStartDate>
<FolderID>
56
</FolderID>
<ContentStatus>
Approved
</ContentStatus>
<Language>
1033
</Language>
<DisplayDateModified>
11/3/2006 9:11:01
AM
</DisplayDateModified>
<DisplayEndDate>
</DisplayEndDate>
</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:259126
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

