RE: Operational system date
1) download the date and numerical format material from exslt.org 2) Put the following attribute in your xsl:stylesheet root element:
3) put the following include at the top level of your document (right after the root element).
<xsl:include href="path-to-installed-the-exslt-elements/date.xsl" />
4) Add the function to your sheet where you want it to appear:
<xsl:choose> <xsl:when test="function-available('date:date-time')"> (<xsl:value-of select="date:date-time()"/>) </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose>
The only problem I had when I did this, was there was a bad include in one of the exslt stylesheets (it was looking in the wrong directory for a padding stylesheet). It wasn't hard to fix, though.
Daniel Paul O'Donnell, PhD
Associate Professor of English
University of Lethbridge
Lethbridge AB T1K 3M4
Tel. (403) 329-2377
Fax. (403) 382-7191
Home Page <http://people.uleth.ca/~daniel.odonnell/>
The Digital Medievalist Project: <http://www.digitalmedievalist.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