[flexcoders] Re: E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread lytvynyuk
Thank you, but it doesn't work!!

But!!!  I think I forgot to mention one thing, my original XML has
defined namespace... and look like that:

var xml:XML = data xmlns='http://www.w3.org/2005/Atom'
   summary type='text'test/summary
   title type='text'test/title 
/data

I've tried without namespace defined - works. But i need it!! Any ideas?




RE: [flexcoders] Re: E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread Tracy Spratt
Declare a default namespace:

default xml namespace = http://www.w3.org/2005/Atom;

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of lytvynyuk
Sent: Thursday, May 07, 2009 9:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: E4x. Strange behavior when modifying XML. Help
needed.

 






Thank you, but it doesn't work!! 

But!!!  I think I forgot to mention one thing, my original XML has defined
namespace... and look like that:

var xml:XML = data xmlns='http://www.w3.org/2005/Atom'
  summary type='text'test/summary
  title type='text'test/title 
/data

I've tried without namespace defined - works. But i need it!! Any ideas?