The XML Server Control

The first thing to cover is the XML server control. This is located in the System.Web.UI.WebControls namespace and looks like the following:

<asp:xml runat="server" /> 

As you can see, it is no different from any other server control in the way it is addressed. In inherits the Control object (as do all the other Web server controls), which provides it with all the base properties such as ID, EnableViewState, and Visible. If you need a refresher on all the properties it inherits from the Control object, refer back to Chapter 7 or the .NET Framework SDK. Table 13.1 looks at the additional properties that we’ll be dealing with.

Table 13.1. XML Object Properties
Property Description
Document Gets or set the System.Xml.XmlDocument ...

Get ASP.NET for Web Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.