Você tem que criar um namespace pra poder acessar essas tags. veja um exemplo em http://livedocs.adobe.com/flex/3/html/help.html?content=13_Working_with_XML_09.html#123882
2009/6/3 Andre Coelho <[email protected]> > Eu tenho o seguinte xml carregado: > > <item xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw=" > http://wellformedweb.org/CommentAPI/" xmlns:dc=" > http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" > xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"> > <title> > @rafashin http://store.steampowered.com/news/2552/ > </title> > <link> > http://wtfbbq.onbranding.com.br/?p=54 > </link> > <comments> > http://wtfbbq.onbranding.com.br/?p=54#comments > </comments> > <pubDate> > Wed, 03 Jun 2009 00:31:34 +0000 > </pubDate> > <dc:creator> > deco > </dc:creator> > <category> > <![CDATA[twitter]]> > </category> > <guid isPermaLink="false"> > http://wtfbbq.onbranding.com.br/?p=54 > </guid> > <description> > <![cda...@rafashin http://store.steampowered.com/news/2552/ > ]]> > </description> > <content:encoded> > <![CDATA[<p><a href="http://twitter.com/rafashin">@rafashin</a> <a > href="http://store.steampowered.com/news/2552/"> > http://store.steampowered.com/news/2552/</a></p> > ]]> > </content:encoded> > <wfw:commentRss> > > http://wtfbbq.onbranding.com.br/?feed=rss2&p=54<http://wtfbbq.onbranding.com.br/?feed=rss2&p=54> > </wfw:commentRss> > </item> > > Ele está carregado num atributo XML com o nome item. > > eu consigo acessar alguns childrens normalmente como: > item.title > item.link > item.category > > Mas eu não consigo acessar de jeito nenhum o filho "dc:creator" > > Já tentei item.child("dc:creator") e item.attribute("dc:creator") sem > sucesso. > > Alguém pode me dar uam luz de como fazê-lo? > > André Coelho Brait da Silva > TeCGraf > > Tel: (21) 3527-2502 > Cel: (21) 8836-7622 > > > > -- []'s, pcmnac. www.pcmnac.com --~--~---------~--~----~------------~-------~--~----~ Você recebeu esta mensagem porque está inscrito na lista "flexdev" Para enviar uma mensagem, envie um e-mail para [email protected] Para sair da lista, envie um email em branco para [email protected] Mais opções estão disponíveis em http://groups.google.com/group/flexdev -~----------~----~----~----~------~----~------~--~---
