A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Need help dynamically generating XML filtering OR statement

  1. #1

    Need help dynamically generating XML filtering OR statement

    Does anyone know if there is a way to create the OR statement like this dynamically? (the data is for example only)

    var results:XMLList = animals.animal.(species == "cat" || species == "dog" || class == "lizard" || color = "brown");

    This statement will always be changing, including the XML nodes it checks, so it can't be a static statement.
    Last edited by sirzooass; 03-23-2011 at 10:30 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center