What does '*::' do in the following example:
(can someone explain how this works, where aspectRatios ends up with 
'widescreen')
       
var aspectRatios:XMLList = atomXml..*::aspectRatio;

where atomxml = 
 <?xml  version="1.0" encoding="utf-16"?>
<entry gd:etag="W/&quot;C0QCQ347eCp7ImA9WxBbFkk.&quot;" 
xmlns="http://www.w3.org/2005/Atom"; xmlns:media="http://search.yahoo.com/mrss/"; 
xmlns:gd="http://schemas.google.com/g/2005"; 
xmlns:yt="http://gdata.youtube.com/schemas/2007";>
    <id>tag:youtube.com,2008:video:yNq5vC_EHAg</id>
    <published>2009-03-17T07:44:54.000Z</published>
     
    <yt:accessControl action="syndicate" permission="allowed" />
    <gd:comments>
        <gd:feedLink 
href="http://gdata.youtube.com/feeds/api/videos/yNq5vC_EHAg/comments?v=2"; 
countHint="1031" />
    </gd:comments>
    <media:group>
        <yt:aspectRatio>widescreen</yt:aspectRatio>
        <yt:duration seconds="232" />
        <yt:uploaded>2009-03-17T07:44:54.000Z</yt:uploaded>
        <yt:videoid>yNq5vC_EHAg</yt:videoid>
    </media:group>
    <gd:rating average="4.794872" max="5" min="1" numRaters="3159" 
rel="http://schemas.google.com/g/2005#overall"; />
    <yt:statistics favoriteCount="9429" viewCount="4563767" />
</entry> 


Reply via email to