Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Help: XPath Extension Funtions Are Not Found [Thread Next] Re: Help: XPath Extension Funtions Are Not FoundTo: NULL Date: 6/2/2004 10:15:00 AM Martin Honnen <mahotrash@y...> wrote in
news:#Q4vujXREHA.2876@T...:
>
>
> Stan Schneider wrote:
>
>> I am trying to format the date. I defined the namespace as in the
>> example. But the attempt to format fails:
>> Namespace 'urn:schemas-microsoft-com:xslt' does not contain function
>> 'format-date'
>>
>>
>> Here are the parts of the code:
>>
>> <xsl:stylesheet
>> version="1.0"
>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>> xmlns="http://www.w3.org/1999/xhtml"
>> xmlns:ms="urn:schemas-microsoft-com:xslt"
>> xmlns:dt="urn:schemas-microsoft-com:datatypes"
>>
>>
>> <xsl:variable name="produced_date" select="ms:format-date
>> ('OFX/SIGNONMSGSRSV1/SONRS/DTSERVER', 'MMM dd, yyyy')" />
>
> I wonder why you have quotes around the first argument to format-date.
> I can't see anything wrong with the namespace however.
> What XML parser are you using? MSXML? Or .NET?
I am using MSXML. The syntax is taken exactly out of their help.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
