Added xml-parsing to chatMdl