if (xmlStr.Contains("<Value type="))
                {
                    string subXmlStr = t.Locate(xmlStr, "<Response>", "</Response>").Trim();
                    string valueTypeLower =
                        t.Locate(xmlStr, "Value type=\"", "\"").Trim().ToLower(); //digs out value's type