我收到错误“无法找到实现前缀的脚本或外部对象”datetime"" [英] I get the error"Cannot find the script or external object that implements prefix "datetime""

查看:112
本文介绍了我收到错误“无法找到实现前缀的脚本或外部对象”datetime""的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想在我的xslt文件版本1.0中显示日期为2013年2月13日。我不想使用Javascript,因为它会导致一些错误。我试过这个:



xmlns:datetime =http://exslt.org/dates-and-times exclude-result-prefixes =datetime





但是当我执行它们时会抛出一个错误无法找到脚本或外部实现前缀datetime的对象...请帮助。





谢谢。

解决方案





看看这里:

http://stackoverflow.com/questions/1575111/can-an-xslt-insert-the-current-date [ ^ ]

Hi All,

I would like to display the date as February 13,2013 in my xslt file version 1.0. I dont want to use Javascript because it causes some error.I tried this :

xmlns:datetime="http://exslt.org/dates-and-times" exclude-result-prefixes="datetime"


But when i execute them this throws an error"Cannot find the script or external object that implements prefix "datetime""...Please help.


Thanks.

解决方案

Hi,

Have a look here:
http://stackoverflow.com/questions/1575111/can-an-xslt-insert-the-current-date[^]


这篇关于我收到错误“无法找到实现前缀的脚本或外部对象”datetime""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆