xsl-list
[Top] [All Lists]

Re: [xsl] MSXLS equivalent for xs:date('2010-11-20')+ xs:yearMonthDuration( concat( 'P',$x,'D'))

2010-09-28 10:28:25
 Hello,

I suggest you to write your own extension function with your favorite .Net language...

Best regards,

-Alain

Le 28/09/2010 17:20, Bartolomeo Nicolotti a écrit :
Hello

I've to maintain an XSLT 1.0 stylesheet on .net framework.

I've found that on this version

Cannot find the script or external object that implements prefix
'http://www.w3.org/2001/XMLSchema'.

so no xs:date and xs:yearMontDuration

Does anybody know an equivalent for

xs:date('2010-11-20')+ xs:yearMonthDuration( concat( 'P',$x,'D'))


I've to add $x days to a date. Googled, but hard to find.

Many thanks

Best regards.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--