Revert "Revert "Add class for xml access""

This reverts commit 8b0f87225b9b8eebb2092d3b28afe9fb4d3f8d55.