Formatting date-in-month with timezones
"Peter Baxter" <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I'm trying to call exslt date:day-in-month in xslt to get value of today's date (and modifying the time zone) but not having much success... I have the call in the stylesheet header.. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times"> I am calling the template according to the exslt site but wrapping it in a variable <xsl:variable name="testday"><xsl:call-template name="date:day-in-month"><xsl:with-param name="date-time" select="string" />?</xsl:call-template></xsl:variable>But I keep getting xslt errors whenever it's transformed ?Anybody else had issues with this? What I really need to know is am I calling the template correctly (ie. what is 'string' is it the value I want to pass in to the template (ie. "CCYY-MM-DDThh:mm:ss-zzzzz")Thanks for any direction you can provide me with.Peter _______________________________________________ exslt mailing list [email protected] http://www.exslt.org/list