using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml.Linq; public partial class leht2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { XElement juur = new XElement("arvud"); Response.ContentType = "text/xml"; Response.Write(""); Response.Write(juur); Response.End(); } }