Using String to reference variable name in XML?

Is there, uh, a way to use the value of a string to reference a variable name?

I’m trying to dynamically assign XML node names and attributes using a string value, I tried something like this:


**var sItem:String = "book"**; // to be dynamically assigned
for (var i:uint; i < _xml.book.length(); i++) {
  aList.push(_xml.**(this[sItem])***.@title);
}

But this throws the error:
ReferenceError: Error #1069: Property book not found on … and there is no default value.

Thanks, ob