Ok- here's a painfully easy one I bet --
I'm aware of how to use EX4 to filter most pieces of the xml I need
- however how can I filter an XML list such as the one below to check say --- if a dog is a beagle? preferably as a Boolean.
var theXml:XML =
<animals> <animal dog ="poodle" cat="Siamese" /> <animal dog ="beagle" cat="calico" /> <animal dog ="mutt" cat="tabby" /> </animals>
var animalList:XMLList = theXml.animals.animal;
this ended up working ( thanks Tyler )...
if (theXml.animals.animal.(@dog == "beagle").length > 0) {
trace('match')
}
thanks ! -MW