
Xml | 899
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Xml
System.Web.UI.WebControls (system.web.dll)
disposable
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 Document-
Source 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 Trans-
form property to a System.Xml.Xsl.XslTransform object or set the TransformSource property with a
string specifying a filename for the XSL file.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝ Xml
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 ...