Revert "Fixed XiAttribute constructor."

This reverts commit 9f99b44e19283338d0cdd785fbcfb27a470d3aca.
Fixed XiAttribute constructor.