Fixed xml attribute editing.

SFH