Thanks, but fixing the XML is not straight forward and I could not spend too much time on fixing it. I could open the xml file with notepad or wordpad. But I could not paste the contents back into MathCAD in any other format than pictures or text strings. As I had a paper copy of the worksheet...