System.Web.UI.WebControls (system.web.dll)class

The Xml control is used to display an XML document on your Web Forms page. To specify the XML document, set the Document property to a System.Xml.XmlDocument object, set the DocumentContent property to a string containing XML content, or set the DocumentSource property with a string specifying a filename. If you set more than one property, the most recent one will take effect.

Optionally, you can specify an XSL Transform document, which will format the XML document before it is displayed. To specify an XSL Transform document, set the Transform property to a System.Xml.Xsl.XslTransform object or set the TransformSource property with a string specifying a filename for the XSL file.

public class Xml : System.Web.UI.Control {
// Public Constructors
   public Xml( );
// Public Instance Properties
   public XmlDocument Document{set; get; }
   public string DocumentContent{set; get; }
   public string DocumentSource{set; get; }
   public XslTransform Transform{set; get; }
   public XsltArgumentList TransformArgumentList{set; get; }
   public string TransformSource{set; get; }
// Protected Instance Methods
   protected override void AddParsedSubObject(object obj);      // overrides System.Web.UI.Control
   protected override void Render(System.Web.UI.HtmlTextWriter output);// overrides System.Web.UI.Control


System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) Xml

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace