Added basic XML parsing