[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: system call?
> If you use an XSLT 2.0 processor (such as Saxon 8), you can get the > current year as follows: > > <xsl:variable name="thisyear" select="format-date(current-date(), > '[Y0001]')"/> or rather more efficiently select="year-from-date(current-date())" Michael Kay http://www.saxonica.com/
|
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
|