fix for getAsXml method
Merge pull request #81 from vladmunthiu/2014.05

fix for getAsXml method