Subject: Re: [xsl] Working with xs:date and xs:gYearMonth From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 23 Jun 2004 05:28:37 +0100 |
>>>>> "Michael" == Michael Kay <mhk@xxxxxxxxx> writes: Michael> <xsl:variable name="first-of-previous-month" Michael> select="xs:date('0000-01-01') + ($previous-month * Michael> $one-month)" as="xs:date"/> Well, Saxon 8.0 doesn't allow this (quite right too - there never was a year zero!). I tried substituting -0001-01-01, which saxon doesn't complain of, but date='{first-of-previous-month}'" is coming out as date=''. -- Colin Paul Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Working with xs:date and , Michael Kay | Thread | Re: [xsl] Working with xs:date and , Colin Paul Adams |
RE: [xsl] Working with xs:date and , Michael Kay | Date | navigation, TEI, kirunews |
Month |