msxml3: Corrected getAttribute to return current value and assign output var.