Revert "xml reader"

This reverts commit c13347d1f01dbfa61e6842311f6b426b56341946.