Revert "xml input loading changes"

This reverts commit 3d47c0c9ee3b352b6a43e39c3ab9e417a49f903b.