G
Guest
I am an XML newbie and am trying an XML control sample from the QuickStart
web site but with my own XML file. I cannot get it to display the XML on the
web page.
Here is the aspx definition:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb"
Inherits="XMLSample._Default"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>XML</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:Xml id="xml1" DocumentSource="AIM.xml" runat="server" />
</form>
</body>
</HTML>
The XML is generated from a SQL FOR XML statement and I cannot change it.
This is one of several XML formats SQL Server generates. I could add an XSL
transform for each XML output, but am not familiar it yet.
Any ideas will be appreciated.
Steve Kallal
web site but with my own XML file. I cannot get it to display the XML on the
web page.
Here is the aspx definition:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb"
Inherits="XMLSample._Default"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>XML</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:Xml id="xml1" DocumentSource="AIM.xml" runat="server" />
</form>
</body>
</HTML>
The XML is generated from a SQL FOR XML statement and I cannot change it.
This is one of several XML formats SQL Server generates. I could add an XSL
transform for each XML output, but am not familiar it yet.
Any ideas will be appreciated.
Steve Kallal