ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> visual-xslt-discuss
visual-xslt-discuss
Re: [Fwd: [Visual-XSLT-discuss] debugger exception while using urn:schemas-microsoft-com:xslt:format-date]
by Eric Promislow other posts by this author
Sep 4 2002 5:08PM messages near this date
view in the new Beta List Site
[Visual-XSLT-discuss] How to make a series of transformations | RE: [Fwd: [Visual-XSLT-discuss] debugger exception while using urn:schemas-microsoft-com:xslt:format-date]
Hello, Pierre,

This is a problem with the .NET Xsl class, not Visual XSLT.
For example, see http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=eJLf8BJ7BHA.2464
%40tkmsftngp05&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3Dformat-date%2Bg
roup%253Amicrosoft.public.dotnet.*

or better still,

http://groups.google.com/groups?hl=en&lr=&ie=ISO-8859-1&q=format-date+group%3Amicrosoft.publ
ic.dotnet.*

(for the long-URL-challenged (like me) -- I went to
'microsoft.public.dotnet' in google groups, and searched for "format-date"
in that tree.  This extension has not been implemented in .net, but
there are workarounds discussed there).

- Eric

>  -------- Original Message --------
>  Subject: [Visual-XSLT-discuss] debugger exception while using 
>  urn:schemas-microsoft-com:xslt:format-date
>  Date: Tue, 3 Sep 2002 12:37:00 +0200
>  From: "Pierre Nguyen-tan" <pierre.nguyen-tan@[...].com>
>  To: "visualXslt discuss" <visual-xslt-discuss@[...].com>
>  
>  Hi,
>  
>  I can't debug the following transformation :
>  
>  XML input :
>  <?xml version="1.0" encoding="iso-8859-1" ?>
>  <personne>
>  <date_naissance>1950-01-01</date_naissance>
>  </personne>
>  
>  XSL input :
>  <?xml version="1.0" encoding="iso-8859-1" ?> 
>  <xslt:stylesheet version="1.0" 
>  xmlns:ms="urn:schemas-microsoft-com:xslt" 
>  xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
>  >  
>  <xslt:output method = "html" version="4.0" encoding="iso-8859-
>  1" />
>  
>  <xslt:template match="/">
>  <div>
>  <xslt:value-of select="ms:format-date
>  (//personne/date_naissance, 'dd/MM/yyyy')" />
>  </div>
>  </xslt:template>
>  </xslt:stylesheet>
>  
>  I got the following message :
>  Exception During XSLTransform :System.Xml.Xsl.XsltException: Cannot 
>  find the script or external object that implements prefix 'ms'.
>  
>  In the project properties, I added the following extension object :
>  
>  Namespace URI = urn:schemas-microsoft-com:xslt
>  Assembly = C:\WINNT\System32\msxml4.dll
>  
>  Thanks.
>  Pierre
_______________________________________________
Visual-XSLT-discuss mailing list
Visual-XSLT-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Eric Promislow
Kirk Allen Evans
Eric Promislow

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved