[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: current-dateTime()

Subject: Re: current-dateTime()
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Apr 2008 14:35:53 +0100
Re:  current-dateTime()
>>>>> "Dimitre" == Dimitre Novatchev <dnovatchev@xxxxxxxxx> writes:

    Dimitre>    $vX and $vY,

    Dimitre> such that $vY is defined as: <xsl:variable name="$vY"
    Dimitre> select="f:someFun($vX)" as="someType"/>


    Dimitre> Then it is true that:

    Dimitre>    creationTime($vY) > creationTime($vX)

No - not creation time. End-of-evaluation time, yes.
 
    Dimitre> Using this simple principle of dependency (causual)
    Dimitre> ordering, one can write code that is guaranteed to be
    Dimitre> evaluated in a certain sequential manner.

With the correction above.

    Dimitre> XSLT supports a more specific run-time
    Dimitre> serialization. Let's have the following tree:

    Dimitre> <a> <b> <c> <d/> </c> </b> </a>

    Dimitre> and templates tmpl-matchA, tmpl-matchB, tmpl-matchC,
    Dimitre> tmpl-matchD that match correspondingly the nodes a,b,c
    Dimitre> and d.

    Dimitre> Then it is true that:

    Dimitre> strtRunTime(tmpl-matchA) < strtRunTime(tmpl-matchB) <
    Dimitre> strtRunTime(tmpl-matchC) < strtRunTime(tmpl-matchD)

No, this is not guaranteed in all cases. However there are some usage
patterns which will guarantee this.

-- 
Colin Adams
Preston Lancashire

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.