RE: [xml-dev] Re: I can XInclude where I bloody want to

From
Evan Lenz <>
To
Elliotte Rusty Harold <>, Uche Ogbuji <>
Date
2002-04-30T16:35:37Z
ID
<>
Thread
RE: [xml-dev] Re: I can XInclude where I bloody want to
Elliotte Rusty Harold wrote:
> >So let me ask you: do you say that XML Base is also forbidden in
> >XSLT processing?
>
> That's a horse of a different color. XML Base processing does not
> change the document that's presented to an XSLT processor. Whether
> you consider xml:base to have some special semantics or just to be an
> attribute named xml:base, the source tree presented to the XSLT
> processor is the same. Thus xml:base really has no impact whatsoever
> on the interpretation of other data in the input document.

Actually, that's not right. If you pass any node-set to the document()
function, then any relative URIs therein will be resolved relative to the
base URI of the corresponding node. Therefore, xml:base processing makes
just as big an impact on a stylesheet's behavior when the attribute occurs
in the source tree as when it occurs in the stylesheet.

Evan