Revert "xml fix"

This reverts commit 2f5883bf476a52ccf7209a59792a221b00ad4ec6.