Earlier on SitePoint (like two days ago), I post a thread entitled "XSLT problem." Since no one had the kindness to respond, I'm re-posting it with a different title, in hopes of solving the confounded problem.
So. I've got a ASP.NET file ("/" or "/Default.Aspx") which is written in XML. Here's the code:
Code:
<%@ Page Language="C#" %>
<!--"/"/"/Default.Aspx": XML/XHTML displayer-->
<?xml version="1.0" encoding="Utf-8"?>
<?xml-stylesheet type="text/xsl" href="/Transform.Xslt"?>
<Document>
<Header>
<Title>Test</Title>
</Header>
<Content>
Test
</Content>
</Document>
ASP.NET document declaration; document identifier comment; XML declaration; XML stylesheet declaration; XML code.
I also have an XSLT file ("/Transform.Xslt") which is written, naturally, is XSL(T). Here's the code:
Document identifier comment; XML declaration; XML stylsheet declaration; XHTML code to replace XML code in "/" or "/Default.Aspx".
So. Here's the problem: despite the fact that the XML stylesheet declaration's "href" attribute (in the "/" or "/Default.Aspx") is valid, loading the page in MS IE6 pulls up XML. No XSLT occurs.
Could somone please help me? This XSLT file is critical to my Web site's operation and without it there isn't a site. Thanks for your assistance.
Bookmarks