开发者

XSLT - upper-case not working

I'm playing around trying to learn XSLT (client-sid开发者_运维百科e, for now). The following errors:

...with Opera 11 complaining that upper-case is not a function. I guess this means Opera 11 is running XSLT 1.0, which was before functions like upper-case were defined. How can I confirm this? Opera's spec doesn't mention XSLT, yet clearly it has a built-in processor.

Does any browser support XSLT 2.0?

Thanks in advance for any help


I found this in the Presto 2.8 (Opera 11's rendering engine) Web Standards XML documentation

XSLT, XPath and XSL-FO

Opera supports XSLT style sheets with the <?xml-stylesheet?> processing instruction; see Associating Style Sheets with XML documents Version 1.0. Opera supports XSLT 1.0 and XPath 1.0 with the following exceptions:

  • The namespace-alias element is not supported.
  • Opera does not support XSL-FO.

Regarding browser support for XSLT 2.0, to my knowledge no major browsers support it (although there is fairly wide support for XSLT 1.0)

Here's a page for the web standards documentation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜