Thanks everyone for your responses. The real xml was actually more complicated
than what I posted. Is it me? Sometimes it seems that E4X solutions are
difficult to figure out.
The actual solution in my project is this, where rslt is an XMLList:
rslt = topics..descendants("*").(contains(XML(filter)));
rslt = new XMLList(rslt[0].parent());
I don't know why I had to have a parent() call on a separate line, but when I
had it on one line, the first line was null.
Sometimes perplexed by E4X,
- Michael M.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders