public static void Main()
XNamespace xsi = "http://www.w3.org/2001/XMLSchema-instance",
RSIL = "http://www.url.com/RSIL",
eQ = "http://www.url.com/eQ";
XDocument doc = new XDocument(
new XElement(RSIL + "Project",
new XAttribute(XNamespace.Xmlns + "RSIL", RSIL),
new XAttribute(XNamespace.Xmlns + "xsi", xsi),
new XAttribute(XNamespace.Xmlns + "eQ", eQ),
new XAttribute(xsi + "schemaLocation", "http://www.url.com/RSIL Name_RSIL.xsd")));