Added simple xml parsing