Re: Matching nodes in the default namespace

Subject: Re: Matching nodes in the default namespace
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Fri, 29 Sep 2000 09:53:50 -0400
At 10:56 PM 09/28/2000 +0000, David Carlisle wrote:
> I tried this and, as you know, it works. Amazing. I would *never* have
> expected an attribute named "exclude-result-prefixes" to, as it were,
> affect the way the source tree is perceived in match/select expressions;
> literal result elements, yes, but not match/select expressions.

no try it without exclude-result-prefixes. It will still work, it is
just that then the namespace declaration will appear in the result.

There is nothing special about the "default" namespace   it isn't really
a default at all it is just the same as any other binding except that
the prefix is empty and in that case the syntax is modified and you
ommit the :.

Well, I still think it's amazing. :) Suddenly "getting" this has hit me like a thunderbolt. Not that it's so obvious that I should have gotten it sooner; it's the same kind of adrenaline rush that hit upon learning that variables can be "varied" only once.

Thanks again to you and Evan for bringing it so lucidly to my attention.

John E. Simpson | "If you were going to | shoot a mime, would you use
XML Q&A: | a silencer?" (Steven Wright)

XSL-List info and archive:

Current Thread