Re: [flexcoders] Parsing XML with namespaces in E4X (Flex2)

2005-12-09 Thread Yokota Satoshi
mespace (with the URI set to an empty string). The scope of a > default xml namespace declaration is within a function block, like the > scope of a variable:. > > > Hope that helps. > > > > -abdul > > > > > > > -Original Message----- >

RE: [flexcoders] Parsing XML with namespaces in E4X (Flex2)

2005-12-03 Thread Abdul Qabiz
Title: RE: [flexcoders] Parsing XML with namespaces in E4X (Flex2) Hi, Use "default xml namespace" directive to solve this problem.  Sorry, it is not documented in current livedocs for Flex 2 alpha…We are working many things, so hopefully you would see it updated soon...

Re: [flexcoders] Parsing XML with namespaces in E4X (Flex2)

2005-12-03 Thread Claus Wahlers
> var res:XML = http://example.com/";> > appleorange > ; > trace(res.item[0]); var res:XML = http://example.com/";> appleorange ; var ns:Namespace = res.namespace(); trace(res.ns::item[0]); cheers, claus. Yahoo! Groups Sponsor

[flexcoders] Parsing XML with namespaces in E4X (Flex2)

2005-12-03 Thread Yokota Satoshi
Hi, Is there a way in which I could parse XML with namespaces in E4X? following code, I can see the value without namespace. var res:XML = appleorange; trace(res.item[0]); but, following code, I could'nt. var res:XML = http://example.com/";> appleorange ; trace(re