Here is some sample code that loads string as workflow

Stream stream = new MemoryStream(ASCIIEncoding.Default.GetBytes(stringXaml));
Activity wf = ActivityXamlServices.Load(stream);
IDictionary<string, object> results = WorkflowInvoker.Invoke(wf);