<%@ Page language="c#" Codebehind="XMLControl.aspx.cs" AutoEventWireup="false" Inherits="UsingServerControls.XMLControl" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>XMLControl</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="XMLControl" method="post" runat="server">
			<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 15px; POSITION: absolute; TOP: 24px" runat="server" Width="215px">A XML Control:</asp:Label>
			<br>
			<br>
			<asp:Xml id="Xml1" runat="server" DocumentSource="books1.xml" TransformSource="books1.xsl"></asp:Xml>
			<br>
			<br>
			<HR style="Z-INDEX: 102; LEFT: 15px" width="100%" SIZE="1">
			 <asp:Label id="Label2" style="Z-INDEX: 103; LEFT: 19px" runat="server" Width="271px">A DataGrid Bound to XML:</asp:Label>
			<br>
			<br>
			<asp:DataGrid id="DataGrid1" style="Z-INDEX: 104; LEFT: 25px" runat="server"></asp:DataGrid>
		</form>
	</body>
</HTML>
