If that is in-line mxml code then you need to use entity encoding: &  Or
do the work in an AS code block.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of David Pariente
Sent: Monday, October 19, 2009 7:08 PM
To: [email protected]
Subject: [SPAM] [flexcoders] problem XML selection functions

 

  

Hi all,

I select 1 element from an XML

ab_XML.about.(lang=='e').desc

does the work, but actually i need it to compare another element:

ab_XML.about.(lang=='e' && web=='g').desc

But complains about the & symbol...

i saw an example like this with the hasOwnProperty function, in the flex 
help...

I don't know if what i'm trying can be done...i really need to get the 
data in one line, if possible.

Thanks a lot, i was googlering but couldn't find things like this, all 
examples i see it's with one comparison only.

ty,
David Pariente



Reply via email to