RE: Dumb question from a newbie on XSLT in IE5

Subject: RE: Dumb question from a newbie on XSLT in IE5
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Thu, 30 Mar 2000 17:46:21 -0500
At 02:23 PM 03/30/2000 -0700, Narahari, Sateesh wrote:
...when we say

xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

We are specifying an URI. Does the XSLT processor go and fetch this URI or
is it just hard coded?.

Nothing is fetched. (It *may* be, but there's nothing in the namespaces spec to require it.)


In fact, if you do something like attempt to go there with a browser, you basically get a placeholder page informing you that "this is an XML namespace." There's not even a requirement that you will see that much.

The xmlns:xsl attribute above simply functions as (yes) a hard-coded "trigger" for an XSLT processor. It signals that this stylesheet's markup is expected to conform to the XSLT 1.0 recommendation; processors which don't know anything about the XSLT 1.0 rec will therefore probably not process the stylesheet correctly (e.g. produce the blank-screen effect if generating HTML). The original IE5 is notorious (at least in these parts) for not recognizing that namespace declaration, and that's why the previous poster suggested replacing the above namespace declaration with:
xmlns:xsl="http://www.w3.org/TR/WD-xsl";
...because IE5 (original) does recognize that trigger.
================================================================
John E. Simpson | "I was gratified to be able to answer
http://www.flixml.org | promptly. I said I don't know."
simpson@xxxxxxxxxxx | (Mark Twain)



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread