prev
first
current-date()
Syntax:
current-date()
Returns the current date; useful for date-stamping
Cf.
current-dateTime()
,
current-time()
May be used with
format-date()
(
-dateTime
,
-time
) to massage output
Kay 781
format-date()
works only in XSLT, not in the XPath browser of <oXygen/>
Example:
current-date()
Example: open and run
djb_calendar.xsl
in the <oXygen/> XSLT debugger (use any XML file as the source)
A first dozen XPath functions, slide 9 of 9
© 2011 David J. Birnbaum and Brown WWP This TEI-encoded XML file is available under the terms of the Creative Commons Attribution-ShareAlike 3.0 (Unported) license.