samjudson:
I tried your suggestion, but nothing showed up on the page. When I looked at the source code, this is what I saw:
<asp:Calendar runat="server" xmlns:asp="http://microsoft.com/2005/aspnet" />
<br xmlns:asp="http://microsoft.com/2005/aspnet" />
I also tried using xmlns:asp="remove" instead of xmlns:asp="http://microsoft.com/2005/aspnet" per the suggestion of others, but that had a similar non-working result:
<asp:Calendar runat="server" xmlns:asp="remove" />
<br xmlns:asp="remove" />
***********************************
joefawcett:
Thanks for the info. Per your suggestion, here's three different XSLT stylesheets that I've tried without success:
XSLT doc #1:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:asp="remove">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<asp:Calendar runat="server" />
<br />
</xsl:template>
</xsl:stylesheet>
XSLT doc #2:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:asp="http://microsoft.com/2005/aspnet">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<asp:Calendar runat="server" />
<br />
</xsl:template>
</xsl:stylesheet>
XSLT doc #3:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:asp="http://microsoft.com/2005/aspnet">
<xsl:output method="html" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<asp:Calendar runat="server" />
<br />
</xsl:template>
</xsl:stylesheet>
All three had the same result, which is noted in my response to samjudson above. I haven't tried to pull in the data that I have in the XML doc, as I'm just trying to get the ASP.NET calendar to work in the first place.
***********************************
If anyone can let me know what I'm doing wrong, I'd very much appreciate it. Thanks.
KWilliams