How do I get an XMLList containing all occurrences of <dog> and <bird>?

<pets>
        <dog>Rover</dog>
        <bird>Sally</bird>
        <cat>Felix</cat>
        <bunny>Thumper</bunny>
</pets>

I've been trying things like the following, to no avail.
pets.elements(["dog","bird"]);
pets..*((["name"]()=="dog")||(["name"]()=="bird"));
pets..(["child"]("dog") || ["child"]("bird"));

Thanks!
- Michael M.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to