Try putting this in your function before making any e4x calls

default namespace = "http://www.example.com/xml/";

Tobias.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, April 05, 2006 12:06 PM
To: [email protected]
Subject: [flexcoders] F2B2: Namespaces breaking E4X

The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
E4X:overview

If you change the root node to something like <employees
xmlns="http://www.example.com/xml/";>, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





--
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



 






--
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/
 



Reply via email to