[Home] [By Thread] [By Date] [Recent Entries]
Bartolomeo Nicolotti wrote:
I've to maintain an XSLT 1.0 stylesheet on .net framework. Microsoft's XslCompiledTransform is an XSLT 1.0 processor and XSLT/XPath 1.0 do not know any date type, all there is is number, string, boolean, node-set, result tree fragment. If you want a date type and operations on that then use XSLT 2.0, it is available for .NET with Saxon 9 and with XQSharp. Or if you insist on using XslCompiledTransform then look into extension function and objects (http://msdn.microsoft.com/en-us/library/6datxzsd.aspx) to leverage the .NET class library types for date parsing and date manipulation. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



