> Ok I'm grabbing data from YouTube and got down to extracting an element 
> below/inside the
> root element.  Just can't figure out how to grab the view_count child 
> element in the following
> XML example. See CF code after xml sample code. Any direction would be 
> great

Do you mean you're trying to get the value of view_count?  Not sure exactly 
what you mean by grab element.

If you have it as an xml object MyXML, you can use struct syntax:

#MyXML.ut_response.video_details.view_count#

Should output 1293.

-- Josh



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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

Reply via email to