Fixed xml selection