This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT V 1.1
> Maybe there are some especially weird usecases
> when entities 'override the URI, but it is 'important'
> to the stylesheet ( I can't believe this is the case in
> the real life, but theoretically it could be, as David
> says. And he is right. Maybe. I'll agree when I'll see
> a usecase. )
It is very common for entities to have different base URI
<!ENTITY chap1 SYSTEM "chapter1/main.xml">
<!ENTITY chap1 SYSTEM "chapter2/main.xml">
...
<doc>
&chap1;
&chap2;
</doc>
being a common idiom (common round here, anyway)
If you require document() to pull in something relative to the source
document then it seems quite likely that in such a case you'll
want to know the URI for the part if the source that you are in.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list