implement xml setter