Subject: Re: [xsl] RE: Operational system date From: Marcos Hercules dos Santos <mhercules@xxxxxxxxx> Date: Sun, 13 Mar 2005 23:09:44 -0300 |
Cool Daniel O'Donnell , It works well, Thanks for the helping hand On Tue, 08 Mar 2005 11:35:35 -0700, Daniel O'Donnell <daniel.odonnell@xxxxxxxx> wrote: > Using the exslt functions in xslt 1.0 is not very hard. Here's what to do: > > 1) download the date and numerical format material from exslt.org > 2) Put the following attribute in your xsl:stylesheet root element: > > xmlns:date="http://exslt.org/dates-and-times" > > 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 > E-mail <daniel.odonnell@xxxxxxxx> > Home Page <http://people.uleth.ca/~daniel.odonnell/> > The Digital Medievalist Project: <http://www.digitalmedievalist.org/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: Operational system date, Daniel O'Donnell | Thread | [xsl] embad css in in xsl, henry human |
[xsl] Re: xsl-list Digest 13 Mar 20, David Laub | Date | Re: [xsl] Stylesheet from a stylesh, omprakash . v |
Month |