I have an XML file begining like this:
Try this:
int startIndex = xmlString.IndexOf('<'); if (startIndex > 0) { xmlString = xmlString.Remove(0, startIndex); }