[flexcoders] parse XML and get unknow tag as String

2006-06-28 Thread iloirdnam
Hello,

I've got an XML file with unknow structure like

 ...

With the following e4x expression, I can get an XMLList with 
tag as first element : [EMAIL PROTECTED]()

How can i isolate the WhoRU tag to compare it to other string?

Thanks,

M. Iloirdna






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] XML with namespaces & HTTPService

2006-06-27 Thread iloirdnam
Hello,

I'm trying to navigate the following XML source ins AS3:


http://anamespace.com";>
  Hello


with the following code :
{
...
hs = new HTTPService();
hs.concurrency = "last";
hs.resultFormat = "e4x";
hs.addEventListener("result",dataReceived);
hs.send();
}

private function dataReceived(e:ResultEvent):void
{
  xmlContent = XML(e.result);
  trace(xmlContent) // Ok dump all xml content
  trace(xmlContent.book) // dump nothing
}

With no namespace, this code works.

How can I do?







 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/