|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: current-dateTime()
Seems like some people didn't understand what I said. Is it too complicated to understand that "the results happens not earlier than the reason for it" ? It cannot be simpler than this... If you don't understand this simple logical axiom, then do not use it, but ignoring it will not make it cease to exist. -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play On Fri, Apr 18, 2008 at 7:33 AM, Liam Quin <liam@xxxxxx> wrote: > On Fri, Apr 18, 2008 at 05:55:07AM -0700, Dimitre Novatchev wrote: > [...] > > <xsl:variable name="$vY" select="f:someFun($vX)" as="someType"/> > > Then it is true that: > > creationTime($vY) > creationTime($vX) > > Actually this is far from certain, odd as it may seem. > > It depends what the compiler knows about f:fomeFun(). For > example, if the function does not use its argument, then the > variables can be created in either order, and quite possibly > statically, before any other processing. > > [...] > > > XSLT supports a more specific run-time serialization. Let's have the > > following tree: > > > > <a> > > <b> > > <c> > > <d/> > > > [...] > > > strtRunTime(tmpl-matchA) < strtRunTime(tmpl-matchB) < > > strtRunTime(tmpl-matchC) < strtRunTime(tmpl-matchD) > > No. There is no guarantee of that at all. An XSLT processor > could start at the template for <d /> and work upwards. Again, > I don't know if there any that do (I'd be be interested to learn), > but you cannot make this sort of assumption. > > However, in an implementation that does not memoize the results of > external functions, you can indeed in practice use some of the > techniques you describe. > > Liam > > -- > Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/ > http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/
|
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
|

Cart








