: Friday, August 06, 2010 12:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Querying XML
Lehr, Theodore wrote:
I am trying:
buildXML = peopleXML.person.(@group == dd_group.value.toString())&&
peopleXML.person.(@room == dd_room.value.toStri
.net]
> Sent: Friday, August 06, 2010 12:40 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Querying XML
>
> Lehr, Theodore wrote:
> > I am trying:
> >
> > buildXML = peopleXML.person.(@group == dd_group.value.toString())&&
&
nt: Friday, August 06, 2010 12:40 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Querying XML
Lehr, Theodore wrote:
> I am trying:
>
> buildXML = peopleXML.person.(@group == dd_group.value.toString())&&
> peopleXML.person.(@room == dd_room.value.toString());
>
I am
Lehr, Theodore wrote:
I am trying:
buildXML = peopleXML.person.(@group == dd_group.value.toString())&&
peopleXML.person.(@room == dd_room.value.toString());
I am surprised that it even returns an XMLList, wait, does it?
___
Flashcoders mailing lis
ers-boun...@chattyfig.figleaf.com
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Taka Kojima
[t...@gigafied.com]
Sent: Thursday, August 05, 2010 3:08 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Querying XML
E4X is a much better approach than looping through an XML object and adding
Taka Kojima wrote:
E4X is a much better approach than looping through an XML object and adding
items to an XMLList.
In this case, yes. But only because it will end up being the same code
that you would have written anyway. The condition syntax is nothing but
an inline search loop. And the lo
I agree, and you can do a for loop to display your data.
On Thu, Aug 5, 2010 at 3:08 PM, Taka Kojima wrote:
> E4X is a much better approach than looping through an XML object and adding
> items to an XMLList.
>
> An E4x command automatically returns an XMLList type object.
>
> On Thu, Aug 5, 20
E4X is a much better approach than looping through an XML object and adding
items to an XMLList.
An E4x command automatically returns an XMLList type object.
On Thu, Aug 5, 2010 at 11:47 AM, Nathan Mynarcik wrote:
> You would need to make a var that is an XMLList that pulls only the nodes
> that
Look into e4x
To only show items with value="a" it would be aXML.item.(@value == "a")
On Thu, Aug 5, 2010 at 11:18 AM, Lehr, Theodore
wrote:
> Is there a way to only show certain xml based on a value - for instance -
> say I have:
>
> var aXML:XML =
>
>
>
>
>
>
>
>
>
> So i
You would need to make a var that is an XMLList that pulls only the nodes
that have the value "a". Then you can trace out your XMLList and it will
only be the ones you need.
Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
On Thu, Aug 5, 2010 at 2:18 PM, Lehr, Theodore wrote:
Is there a way to only show certain xml based on a value - for instance - say I
have:
var aXML:XML =
So if someone picks "a" from a drop down - I would then only display the ones
that have the value of a in a datagrid...
I am used to just doing something like:
var
11 matches
Mail list logo