I must be missing something simple here. I'm reading in XML that looks like
this:
?xml version=1.0 encoding=UTF-8?
REGISTRY
REGISTRY_DECLARATION/
REGISTRY_ENTRIES
Attribute
AttributeNameAttr_1/AttributeName
/Attribute
Attribute
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
, 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
] e4x help
** **
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
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
Is it possible to get the value of type from this XML?
node id=2
data key=nameEd/data
data key=typeM/data
/node
#8722;
node id=3
data key=nameChristiaan/data
data key=typeM/data
/node
So in this example end up with M for both?
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
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
I try writing two comboboxes to facilitate selection of the following XML,
data
state label=Texas data=Texas
county label=Jones data=123 /
county label=Taylor data=124 /
...
/state
state label=Virginia data=Virginia
9 matches
Mail list logo