Easy Tutorial
❮ Prop Webcontrol Panel Backimageurl Razor Syntax ❯

ASP.NET XML Control



Definition and Usage

The XML control is used to display XML documents or the results of XSL transformations.

Note: At least one attribute must be set for the XML document, otherwise no XML document will be displayed.

You can also specify an XSLT document, which formats the XML document before it is written to the output stream. You can format the XML document by setting the Transform attribute or the TransformSource attribute.


Properties

Property Description .NET
ClientID
Controls
Document Deprecated. Specifies the XML document using a System.Xml.XmlDocument object. 1.0
DocumentContent Specifies the XML string. 1.0
DocumentSource Specifies the path of the XML document to be displayed in the XML control. 1.0
EnableTheming
runat Specifies that the control is a server control. Must be set to "server". 1.0
SkinID
Transform Uses a System.Xml.Xsl.XslTransform object to format the XML document. 1.0
TransformArgumentList
TransformSource Specifies the path of the XSL transformation file.
XPathNavigator

Control Standard Properties

For a complete description, visit Control Standard Properties.


Examples

XML


❮ Prop Webcontrol Panel Backimageurl Razor Syntax ❯