在HTML5时代使用客户端XSLT转换 [英] Using client side XSLT transformations in the HTML5 era

查看:204
本文介绍了在HTML5时代使用客户端XSLT转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助关于移动HTML5浏览器中客户端XSLT的可用性? caniuse.com 没有任何内容。

Can anyone help regarding the availability of client-side XSLT in mobile HTML5 browsers? caniuse.com has nothing on it.

XSLT实际上是标准化的

Is XSLT actually standardized across current mobile browsers?

HTML5规范对XSLT没有任何意见,这使得XML有未来是一个问题(鉴于有JSONP,但没有XMLP)

The HTML5 spec has nothing on XSLT which puts into question whether XML has a future (in light of the fact that there is JSONP but there is no "XMLP")

推荐答案

XSLTProcessor API是HTML5脚本规范:

The XSLTProcessor API is part of the HTML5 scripting spec:

  • Interaction of script elements and XSLT

当处理指令触发XSLT转换程序并且浏览器实现直接到DOM转换时,XSLT处理器创建的脚本元素需要标记为解析器插入并按文档顺序运行

Safari Web内容指南说:


在iOS 2.0及更高版本中支持XSLT。

XSLT is supported in iOS 2.0 and later.

Android 2.2.x(8级)添加了用于XSLT的Java API,可通过 XSLTProcessor API 在客户端访问的JavaScript。

Android 2.2.x(Level 8) added Java APIs for XSLT, accessible client-side via the XSLTProcessor API of JavaScript.

Android 4.0支持 XSLT处理说明,根据以下问题的答案:

Android 4.0 supports XSLT processing instructions, according to answers to the following question:

  • Is the Android Browser capable of performing an xsl transform?

这篇关于在HTML5时代使用客户端XSLT转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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