This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Function arguments (was regexps once)
Hi Ken,
> At 2002-01-14 15:24 +0000, Jeni Tennison wrote:
>>On the other hand, you could imagine that:
>>
>> document('foo.xml') == document('foo.xml')
>>
>>would be false, if each call to the document() function constructed
>>a new document from whatever file you point to.
>
> But isn't this a misleading statement? Section 12.1 states:
Yes, sorry, I meant that if the document() function were not already
defined, you could imagine that one way in which it could be defined
would be such that:
document('foo.xml') == document('foo.xml')
were false. It isn't designed like that, for the good reasons that
we've discussed on this thread, but it would have been a feasible
decision. I was comparing that to the current() function, where it
would never make sense for current() == current() to be false.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list