added ofXml(string) constructor