Yah, actually it was inline code...
I will try your solution or move it to AS3, as this function will be so useful in my project.
I was not really sure if it could be done, or was something impossible.

Thanks a lot :)

Tracy Spratt wrote:
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