Re: [xslt] document('')
- From: Matt Sergeant <matt sergeant org>
- To: "xslt gnome org" <xslt gnome org>
- Subject: Re: [xslt] document('')
- Date: Fri, 12 Jul 2002 11:22:10 +0100 (BST)
On Fri, 12 Jul 2002, Morus Walter wrote:
> ./xsltproc -V
> Using libxml 20422, libxslt 10019 and libexslt 710
> xsltproc was compiled against libxml 20422, libxslt 10019 and libexslt 710
> libxslt 10019 was compiled against libxml 20422
> libexslt 710 was compiled against libxml 20422
>
> So yes, using document('') on stylesheets not providing a base url
> does not work with xsltproc either.
>
> Did you read the thread
> http://mail.gnome.org/archives/xslt/2002-June/thread.html#00055 ?
>
> Daniel comments the problems there.
Yes I did, but breaking one of these fundamental features of XSLT just
because I'm using strings instead of files seems daft. I guess Daniel's
mileage varies there ;-)
Michael Kay's book specifies that document('') refers to "the stylesheet
itself". It says nothing about relative/absolute URIs, which is only
relevant when the string has length > 0, as far as I can make out.
--
<!-- Matt -->
<:->Get a smart net</:->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]