- replaced __toString with asXml()