I've a xml file.I'm taking its data passing it to a method in string form and converting that string "xmlData" to a array of bytes by Convert.FromBas e64String(xmlDa ta) but I'm getting a exception "Invalid character in Base-64 string."

My code is like this.

XmlTextReader xmlReader = new XmlTextReader(X ML_LAYOUT_FILE_ PATH);
XmlDocument doc = new XmlDocument();
...