I can link an XML doc to CSS manually by entering this at the beginning of the file. I cannot link the file in C# XML document class though. I tried appending it to the doc.LoadXml but the formatting isn't displayed when saved.
string css =
XMLDocument doc = new XMLDocument();
doc.LoadXml(css + "\n");