C# CreateElement method - how to add an child element with xmlns=""
- by NealWalters
How can I get the following code to add the element with "xmlns=''"?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string strXML =
"<myroot>" +
…