XML Control question

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top