Subject: Re: [xsl] Function arguments (was regexps once) From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Mon, 14 Jan 2002 20:49:31 +0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Function arguments (was r, G. Ken Holman | Thread | Re: [xsl] Function arguments (was r, Joerg Pietschmann |
Re: [xsl] Merging multiple document, Paul Sprakes | Date | Re: [xsl] what type of encoding?, Mike Brown |
Month |