Thanks so much, ill try it...
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Yes, this has worked for me, though I always apply e4x expressions to an
> XML node, never to an XMLList.  The XMLList is always what I get back.
> 
> Tracy
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Ben Marchbanks
> Sent: Sunday, September 16, 2007 7:57 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] XMLList
> 
> Interest to know if anyone has been able to make this work.
> 
> I struggled with trying to use variables in filtering XMLList without
> success.
> 
> Alex Harui wrote:
> > 
> > 
> > ([variable] == "Y")
> > 
> >  
> > 
> >
> ------------------------------------------------------------------------
> > 
> > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> 
> > *On Behalf Of *figo2324
> > *Sent:* Friday, September 14, 2007 2:46 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] XMLList
> > 
> >  
> > 
> > Hi people, i need your help, i have a xmllist object so i need to
> > query this xmllist, im doing it in this way
> > 
> > var jo:XMLList=myDataProvider.data.item.(koala=="Y");
> > 
> > where myDataProvider.data =
> > <data>
> > <item>
> > <prueba>ccct</prueba>
> > <koala>X</koala>
> > </item>
> > <item>
> > <prueba>sambil</prueba>
> > <koala>Y</koala>
> > </item>
> > </data>
> > then the structure of this xmllist can be changes it means that when
> > i wanna to query it using this sentences var
> > jo:XMLList=myDataProvider.data.item.(koala=="Y");
> > The param koala have been changed, then i need that this param be a
> > variable so i dont know how to do that...
> > 
> > for example
> > 
> > var variable:String="koala";//
> > var jo:XMLList=myDataProvider.data.item.(variable=="Y");
> > but it doesnt works, i dont know how to pass a variable in this
> > sentence, some suggestion please...
> > 
> > thanks so much coders
> > 
> > 
> 
> -- 
> Ben Marchbanks
> 
> ::: alQemy ::: transforming information into intelligence
> http://www.alQemy.com
> 
> ::: magazooms ::: digital magazines
> http://www.magazooms.com
> 
> Greenville, SC
> 864.284.9918
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>


Reply via email to