[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|