Subject: Re: [xsl] current month xslt 1.0 From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Mon, 29 Nov 2010 05:20:59 -0800 |
On Mon, Nov 29, 2010 at 12:14 AM, Szabo, Patrick (LNG-VIE) <patrick.szabo@xxxxxxxxxxxxx> wrote: > Hi, > > Is there a way to determine the current month with nativ xslt 1.0 !? No, there isn't a current-month() function in XPath 1.0 and neither is this information part of the static context. There is a workaround: Pass the current month as a parameter on invoking the XSLT transformation. Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] current month xslt 1.0, Szabo, Patrick \(LNG | Thread | Re: [xsl] current month xslt 1.0, Hermann Stamm-Wilbra |
RE: [xsl] Issue with Xalan nodeset, Etheridge, Stephen | Date | Re: [xsl] current month xslt 1.0, Hermann Stamm-Wilbra |
Month |