try the following (did not test, so there might be errors):using System.Xml;XmlDataDocument xdd = new XmlDataDocument(YourDataSet1);
XmlProcessingInstruction pi = xdd.CreateProcessingInstruction("xml-stylesheet","type='text/xsl' href='style.xsl'");
xdd.InsertBefore( pi, xdd.DocumentElement);
xdd.Save("YourXMLFileName");