Re: [flexcoders] e4x help

2011-09-22 Thread Brendan Meutzner
You shouldn't do a check on the length() for xmlRoot... that represents the REGISTRY level... otherwise your code looks fine. On Thu, Sep 22, 2011 at 4:54 PM, michael_reg...@dell.com wrote: ** I must be missing something simple here. I’m reading in XML that looks like this: ** **

Re: [flexcoders] e4x help

2011-09-22 Thread Haykel BEN JEMIA
working for me. here is the code I used for testing: package { import flash.display.Sprite; public class Test extends Sprite { private var xmlRoot:XML = REGISTRY REGISTRY_DECLARATION/ REGISTRY_ENTRIES Attribute

RE: [flexcoders] e4x help

2011-09-22 Thread michael_regert
, immediately contact the sender by reply e-mail and destroy all copies of the original message. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner Sent: Thursday, September 22, 2011 10:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] e4x

Re: [flexcoders] e4x help

2011-09-22 Thread Haykel BEN JEMIA
by reply e-mail and destroy all copies of the original message. ** ** ** ** *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Brendan Meutzner *Sent:* Thursday, September 22, 2011 10:20 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders

RE: [flexcoders] e4x help

2011-09-22 Thread michael_regert
Of Haykel BEN JEMIA Sent: Thursday, September 22, 2011 10:48 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] e4x help because the elements are then defined in the namespace http://schemas.dell.com/wbem/biosattributeregistry/1;. To access them through e4x you have to create a corresponding

Re: [flexcoders] E4X help?

2009-02-15 Thread Josh McDonald
Not sure exactly what you mean. Have you tried this: var typeNodes : XMLList = node.data.(attribute(key)==type); -Josh On Mon, Feb 16, 2009 at 9:58 AM, flexaustin flexaus...@yahoo.com wrote: Is it possible to get the value of type from this XML? node id=2 data key=nameEd/data data

Re: [flexcoders] E4X help?

2009-02-15 Thread claudiu ursica
node.da...@key == type ? If U want both values you should iterate ... Claudiu From: flexaustin flexaus...@yahoo.com To: flexcoders@yahoogroups.com Sent: Monday, February 16, 2009 1:58:46 AM Subject: [flexcoders] E4X help? Is it possible to get the value of