Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
Recordcount in XML
Home
ColdFusion
Discussions
Recordcount in XML
0
Upvote
Recordcount in XML
Newsgroup_User
LEGEND
,
/t5/coldfusion-discussions/recordcount-in-xml/td-p/420064
Nov 24, 2007
Nov 24, 2007
Copy link to clipboard
Copied
Anyone know how to get the total number of records in an XML document so you
can know how many times to loop over it?
TOPICS
Advanced techniques
Views
250
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Reply
1
Jump to latest reply
Stressed_Simon
Engaged
,
/t5/coldfusion-discussions/recordcount-in-xml/m-p/420065#M37862
Nov 24, 2007
Nov 24, 2007
Copy link to clipboard
Copied
LATEST
If the xml object is called oXML then you can get the root node using oXML.xmlRoot to get what you want you need the children of tis so oXML.xmlRoot.xmlChildren which is an array so you can arrayLen() it.
Hope that helps
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide