XElement namespace
In this chapter you will learn:
Create XElement with namespace
using System;// j a va 2 s .co m
using System.Linq;
using System.Xml.Linq;
using System.Collections;
using System.Collections.Generic;
public class MainClass{
public static void Main(){
XNamespace aw = "http://www.domain.com";
XElement root = new XElement(aw + "Root");
Console.WriteLine(root);
}
}
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » XML Linq